Interface Actor.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Actor.Builder,Actor>, SdkBuilder<Actor.Builder,Actor>, SdkPojo
Enclosing class:
Actor

@Mutable @NotThreadSafe public static interface Actor.Builder extends SdkPojo, CopyableBuilder<Actor.Builder,Actor>
  • Method Details

    • identifier

      Actor.Builder identifier(String identifier)

      Unique identifier for the actor (case-insensitive)

      Parameters:
      identifier - Unique identifier for the actor (case-insensitive)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uris

      List of URIs accessible with the actor's credentials

      Parameters:
      uris - List of URIs accessible with the actor's credentials
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uris

      Actor.Builder uris(String... uris)

      List of URIs accessible with the actor's credentials

      Parameters:
      uris - List of URIs accessible with the actor's credentials
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

      Actor.Builder authentication(Authentication authentication)

      Authentication information used by the actor to access resources

      Parameters:
      authentication - Authentication information used by the actor to access resources
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

      default Actor.Builder authentication(Consumer<Authentication.Builder> authentication)

      Authentication information used by the actor to access resources

      This is a convenience method that creates an instance of the Authentication.Builder avoiding the need to create one manually via Authentication.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authentication(Authentication).

      Parameters:
      authentication - a consumer that will call methods on Authentication.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      Actor.Builder description(String description)

      Additional description or details about the actor

      Parameters:
      description - Additional description or details about the actor
      Returns:
      Returns a reference to this object so that method calls can be chained together.