Interface CreateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateUserRequest.Builder,,CreateUserRequest> QBusinessRequest.Builder,SdkBuilder<CreateUserRequest.Builder,,CreateUserRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateUserRequest
public static interface CreateUserRequest.Builder
extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the application for which the user mapping will be created.clientToken(String clientToken) A token that you provide to identify the request to create your Amazon Q Business user mapping.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.userAliases(Collection<UserAlias> userAliases) The list of user aliases in the mapping.userAliases(Consumer<UserAlias.Builder>... userAliases) The list of user aliases in the mapping.userAliases(UserAlias... userAliases) The list of user aliases in the mapping.The user emails attached to a user mapping.Methods 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.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The identifier of the application for which the user mapping will be created.
- Parameters:
applicationId- The identifier of the application for which the user mapping will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The user emails attached to a user mapping.
- Parameters:
userId- The user emails attached to a user mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAliases
The list of user aliases in the mapping.
- Parameters:
userAliases- The list of user aliases in the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAliases
The list of user aliases in the mapping.
- Parameters:
userAliases- The list of user aliases in the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAliases
The list of user aliases in the mapping.
This is a convenience method that creates an instance of theUserAlias.Builderavoiding the need to create one manually viaUserAlias.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserAliases(List<UserAlias>).- Parameters:
userAliases- a consumer that will call methods onUserAlias.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A token that you provide to identify the request to create your Amazon Q Business user mapping.
- Parameters:
clientToken- A token that you provide to identify the request to create your Amazon Q Business user mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-