Class AddScopeRequest.Builder

  • Enclosing class:
    AddScopeRequest

    public static final class AddScopeRequest.Builder
    extends Object
    • Method Detail

      • 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 with 00000000-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.
      • toString

        public String toString()
        Overrides:
        toString in class Object