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)

      The unique identifier for the actor.

      Parameters:
      identifier - The unique identifier for the actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uris

      The list of URIs that the actor targets during testing.

      Parameters:
      uris - The list of URIs that the actor targets during testing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uris

      Actor.Builder uris(String... uris)

      The list of URIs that the actor targets during testing.

      Parameters:
      uris - The list of URIs that the actor targets during testing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

      Actor.Builder authentication(Authentication authentication)

      The authentication configuration for the actor.

      Parameters:
      authentication - The authentication configuration for the actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

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

      The authentication configuration for the actor.

      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)

      A description of the actor.

      Parameters:
      description - A description of the actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.