Interface CreateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateUserRequest.Builder,,CreateUserRequest> SdkBuilder<CreateUserRequest.Builder,,CreateUserRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateUserRequest
-
Method Summary
Modifier and TypeMethodDescriptionafterContactWorkConfigs(Collection<AfterContactWorkConfigPerChannel> afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.afterContactWorkConfigs(Consumer<AfterContactWorkConfigPerChannel.Builder>... afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.afterContactWorkConfigs(AfterContactWorkConfigPerChannel... afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.autoAcceptConfigs(Collection<AutoAcceptConfig> autoAcceptConfigs) The list of auto-accept configuration settings for each channel.autoAcceptConfigs(Consumer<AutoAcceptConfig.Builder>... autoAcceptConfigs) The list of auto-accept configuration settings for each channel.autoAcceptConfigs(AutoAcceptConfig... autoAcceptConfigs) The list of auto-accept configuration settings for each channel.directoryUserId(String directoryUserId) The identifier of the user account in the directory used for identity management.hierarchyGroupId(String hierarchyGroupId) The identifier of the hierarchy group for the user.default CreateUserRequest.BuilderidentityInfo(Consumer<UserIdentityInfo.Builder> identityInfo) The information about the identity of the user.identityInfo(UserIdentityInfo identityInfo) The information about the identity of the user.instanceId(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password for the user account.persistentConnectionConfigs(Collection<PersistentConnectionConfig> persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.persistentConnectionConfigs(Consumer<PersistentConnectionConfig.Builder>... persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.persistentConnectionConfigs(PersistentConnectionConfig... persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.default CreateUserRequest.BuilderphoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig) The phone settings for the user.phoneConfig(UserPhoneConfig phoneConfig) The phone settings for the user.phoneNumberConfigs(Collection<PhoneNumberConfig> phoneNumberConfigs) The list of phone number configuration settings for each channel.phoneNumberConfigs(Consumer<PhoneNumberConfig.Builder>... phoneNumberConfigs) The list of phone number configuration settings for each channel.phoneNumberConfigs(PhoneNumberConfig... phoneNumberConfigs) The list of phone number configuration settings for each channel.routingProfileId(String routingProfileId) The identifier of the routing profile for the user.securityProfileIds(String... securityProfileIds) The identifier of the security profile for the user.securityProfileIds(Collection<String> securityProfileIds) The identifier of the security profile for the user.The tags used to organize, track, or control access for this resource.The user name for the account.voiceEnhancementConfigs(Collection<VoiceEnhancementConfig> voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.voiceEnhancementConfigs(Consumer<VoiceEnhancementConfig.Builder>... voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.voiceEnhancementConfigs(VoiceEnhancementConfig... voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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
-
username
The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.
Username can include @ only if used in an email format. For example:
-
Correct: testuser
-
Correct: testuser@example.com
-
Incorrect: testuser@example
- Parameters:
username- The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.Username can include @ only if used in an email format. For example:
-
Correct: testuser
-
Correct: testuser@example.com
-
Incorrect: testuser@example
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
password
The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
- Parameters:
password- The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityInfo
The information about the identity of the user.
- Parameters:
identityInfo- The information about the identity of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityInfo
The information about the identity of the user.
This is a convenience method that creates an instance of theUserIdentityInfo.Builderavoiding the need to create one manually viaUserIdentityInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityInfo(UserIdentityInfo).- Parameters:
identityInfo- a consumer that will call methods onUserIdentityInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneConfig
The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such as
AutoAcceptConfigs,AfterContactWorkConfigs,PhoneNumberConfigs,PersistentConnectionConfigs, andVoiceEnhancementConfigs.- Parameters:
phoneConfig- The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such asAutoAcceptConfigs,AfterContactWorkConfigs,PhoneNumberConfigs,PersistentConnectionConfigs, andVoiceEnhancementConfigs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneConfig
The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such as
This is a convenience method that creates an instance of theAutoAcceptConfigs,AfterContactWorkConfigs,PhoneNumberConfigs,PersistentConnectionConfigs, andVoiceEnhancementConfigs.UserPhoneConfig.Builderavoiding the need to create one manually viaUserPhoneConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneConfig(UserPhoneConfig).- Parameters:
phoneConfig- a consumer that will call methods onUserPhoneConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
directoryUserId
The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.
This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
- Parameters:
directoryUserId- The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileIds
The identifier of the security profile for the user.
- Parameters:
securityProfileIds- The identifier of the security profile for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileIds
The identifier of the security profile for the user.
- Parameters:
securityProfileIds- The identifier of the security profile for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfileId
The identifier of the routing profile for the user.
- Parameters:
routingProfileId- The identifier of the routing profile for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyGroupId
The identifier of the hierarchy group for the user.
- Parameters:
hierarchyGroupId- The identifier of the hierarchy group for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoAcceptConfigs
The list of auto-accept configuration settings for each channel.
- Parameters:
autoAcceptConfigs- The list of auto-accept configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoAcceptConfigs
The list of auto-accept configuration settings for each channel.
- Parameters:
autoAcceptConfigs- The list of auto-accept configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoAcceptConfigs
CreateUserRequest.Builder autoAcceptConfigs(Consumer<AutoAcceptConfig.Builder>... autoAcceptConfigs) The list of auto-accept configuration settings for each channel.
This is a convenience method that creates an instance of theAutoAcceptConfig.Builderavoiding the need to create one manually viaAutoAcceptConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoAcceptConfigs(List<AutoAcceptConfig>).- Parameters:
autoAcceptConfigs- a consumer that will call methods onAutoAcceptConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
afterContactWorkConfigs
CreateUserRequest.Builder afterContactWorkConfigs(Collection<AfterContactWorkConfigPerChannel> afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.
- Parameters:
afterContactWorkConfigs- The list of after contact work (ACW) timeout configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterContactWorkConfigs
CreateUserRequest.Builder afterContactWorkConfigs(AfterContactWorkConfigPerChannel... afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.
- Parameters:
afterContactWorkConfigs- The list of after contact work (ACW) timeout configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterContactWorkConfigs
CreateUserRequest.Builder afterContactWorkConfigs(Consumer<AfterContactWorkConfigPerChannel.Builder>... afterContactWorkConfigs) The list of after contact work (ACW) timeout configuration settings for each channel.
This is a convenience method that creates an instance of theAfterContactWorkConfigPerChannel.Builderavoiding the need to create one manually viaAfterContactWorkConfigPerChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toafterContactWorkConfigs(List<AfterContactWorkConfigPerChannel>).- Parameters:
afterContactWorkConfigs- a consumer that will call methods onAfterContactWorkConfigPerChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneNumberConfigs
The list of phone number configuration settings for each channel.
- Parameters:
phoneNumberConfigs- The list of phone number configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberConfigs
The list of phone number configuration settings for each channel.
- Parameters:
phoneNumberConfigs- The list of phone number configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberConfigs
CreateUserRequest.Builder phoneNumberConfigs(Consumer<PhoneNumberConfig.Builder>... phoneNumberConfigs) The list of phone number configuration settings for each channel.
This is a convenience method that creates an instance of thePhoneNumberConfig.Builderavoiding the need to create one manually viaPhoneNumberConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneNumberConfigs(List<PhoneNumberConfig>).- Parameters:
phoneNumberConfigs- a consumer that will call methods onPhoneNumberConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistentConnectionConfigs
CreateUserRequest.Builder persistentConnectionConfigs(Collection<PersistentConnectionConfig> persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.
- Parameters:
persistentConnectionConfigs- The list of persistent connection configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persistentConnectionConfigs
CreateUserRequest.Builder persistentConnectionConfigs(PersistentConnectionConfig... persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.
- Parameters:
persistentConnectionConfigs- The list of persistent connection configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persistentConnectionConfigs
CreateUserRequest.Builder persistentConnectionConfigs(Consumer<PersistentConnectionConfig.Builder>... persistentConnectionConfigs) The list of persistent connection configuration settings for each channel.
This is a convenience method that creates an instance of thePersistentConnectionConfig.Builderavoiding the need to create one manually viaPersistentConnectionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topersistentConnectionConfigs(List<PersistentConnectionConfig>).- Parameters:
persistentConnectionConfigs- a consumer that will call methods onPersistentConnectionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voiceEnhancementConfigs
CreateUserRequest.Builder voiceEnhancementConfigs(Collection<VoiceEnhancementConfig> voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.
- Parameters:
voiceEnhancementConfigs- The list of voice enhancement configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceEnhancementConfigs
CreateUserRequest.Builder voiceEnhancementConfigs(VoiceEnhancementConfig... voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.
- Parameters:
voiceEnhancementConfigs- The list of voice enhancement configuration settings for each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceEnhancementConfigs
CreateUserRequest.Builder voiceEnhancementConfigs(Consumer<VoiceEnhancementConfig.Builder>... voiceEnhancementConfigs) The list of voice enhancement configuration settings for each channel.
This is a convenience method that creates an instance of theVoiceEnhancementConfig.Builderavoiding the need to create one manually viaVoiceEnhancementConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceEnhancementConfigs(List<VoiceEnhancementConfig>).- Parameters:
voiceEnhancementConfigs- a consumer that will call methods onVoiceEnhancementConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- 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.
-