Class AddScopeRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddScopeRequest
public static final class AddScopeRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddScopeRequest
build()
AddScopeRequest.Builder
but()
Deprecated.This method will be removed in the future.AddScopeRequest.Builder
communityIds(List<UUID> communityIds)
The list of IDs for communities assigned to the new scope.AddScopeRequest.Builder
description(String description)
The description of the new scope.AddScopeRequest.Builder
domainIds(List<UUID> domainIds)
The list of IDs for domains assigned to the new scope.AddScopeRequest.Builder
id(UUID id)
The ID of the new scope.AddScopeRequest.Builder
name(@NotNull String name)
Required. The name of the new scope.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public AddScopeRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddScopeRequest.builder()
Clone method for this Builder.
-
id
public AddScopeRequest.Builder id(UUID id)
The ID of the new scope. Should be unique within all scopes. It should have a format of universally unique identifier (UUID) and should not start with00000000-0000-0000-
which is a reserved prefix.- Returns:
this
.
-
name
public AddScopeRequest.Builder name(@NotNull @NotNull String name)
Required. The name of the new scope.- Returns:
this
.
-
description
public AddScopeRequest.Builder description(String description)
The description of the new scope.- Returns:
this
.
-
domainIds
public AddScopeRequest.Builder domainIds(List<UUID> domainIds)
The list of IDs for domains assigned to the new scope.- Returns:
this
.
-
communityIds
public AddScopeRequest.Builder communityIds(List<UUID> communityIds)
The list of IDs for communities assigned to the new scope.- Returns:
this
.
-
build
public AddScopeRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-