Class ChangeScopeRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeScopeRequest
public static final class ChangeScopeRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeScopeRequest
build()
ChangeScopeRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeScopeRequest.Builder
communityIds(List<UUID> communityIds)
The new list of IDs of communities that should included in the scope.ChangeScopeRequest.Builder
description(String description)
The new description for the scope.ChangeScopeRequest.Builder
domainIds(List<UUID> domainIds)
The new list of IDs of domains that should included in the scope.ChangeScopeRequest.Builder
id(@NotNull UUID id)
Required. The ID of the scope to be changed.ChangeScopeRequest.Builder
name(String name)
The new name for the scope.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public ChangeScopeRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeScopeRequest.builder()
Clone method for this Builder.
-
id
public ChangeScopeRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the scope to be changed. Silently ignored if the ID is provided as path parameter of the request.- Returns:
this
.
-
name
public ChangeScopeRequest.Builder name(String name)
The new name for the scope.- Returns:
this
.
-
description
public ChangeScopeRequest.Builder description(String description)
The new description for the scope.- Returns:
this
.
-
domainIds
public ChangeScopeRequest.Builder domainIds(List<UUID> domainIds)
The new list of IDs of domains that should included in the scope.- Returns:
this
.
-
communityIds
public ChangeScopeRequest.Builder communityIds(List<UUID> communityIds)
The new list of IDs of communities that should included in the scope.- Returns:
this
.
-
build
public ChangeScopeRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-