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 Summary
Modifier and TypeMethodDescriptiondefault Actor.Builderauthentication(Consumer<Authentication.Builder> authentication) Authentication information used by the actor to access resourcesauthentication(Authentication authentication) Authentication information used by the actor to access resourcesdescription(String description) Additional description or details about the actoridentifier(String identifier) Unique identifier for the actor (case-insensitive)List of URIs accessible with the actor's credentialsuris(Collection<String> uris) List of URIs accessible with the actor's credentialsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
Authentication information used by the actor to access resources
This is a convenience method that creates an instance of theAuthentication.Builderavoiding the need to create one manually viaAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(Authentication).- Parameters:
authentication- a consumer that will call methods onAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-