Interface CreateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateUserRequest.Builder,
,CreateUserRequest> QBusinessRequest.Builder
,SdkBuilder<CreateUserRequest.Builder,
,CreateUserRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateUserRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaUserAlias.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-