Interface CreateUserRequest.Builder
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateUserRequest.Builder,,CreateUserRequest> SdkBuilder<CreateUserRequest.Builder,,CreateUserRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateUserRequest
public static interface CreateUserRequest.Builder
extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique, user-specified identifier for this request that ensures idempotency.The email address for the user.The first name for the user.The last name for the user.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags for the user.tags(Consumer<Tag.Builder>... tags) The tags for the user.The tags for the user.The ARN for the user.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
userId
The ARN for the user.
- Parameters:
userId- The ARN for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
The first name for the user.
- Parameters:
firstName- The first name for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
The last name for the user.
- Parameters:
lastName- The last name for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
The email address for the user.
- Parameters:
email- The email address for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A unique, user-specified identifier for this request that ensures idempotency.
- Parameters:
clientRequestToken- A unique, user-specified identifier for this request that ensures idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the user.
- Parameters:
tags- The tags for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the user.
- Parameters:
tags- The tags for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the user.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-