Interface CreateUserRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>,SdkBuilder<CreateUserRequest.Builder,CreateUserRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUserRequest
public static interface CreateUserRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateUserRequest.BuilderdirectoryUserId(String directoryUserId)The identifier of the user account in the directory used for identity management.CreateUserRequest.BuilderhierarchyGroupId(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.CreateUserRequest.BuilderidentityInfo(UserIdentityInfo identityInfo)The information about the identity of the user.CreateUserRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.CreateUserRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateUserRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateUserRequest.Builderpassword(String password)The password for the user account.default CreateUserRequest.BuilderphoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)The phone settings for the user.CreateUserRequest.BuilderphoneConfig(UserPhoneConfig phoneConfig)The phone settings for the user.CreateUserRequest.BuilderroutingProfileId(String routingProfileId)The identifier of the routing profile for the user.CreateUserRequest.BuildersecurityProfileIds(String... securityProfileIds)The identifier of the security profile for the user.CreateUserRequest.BuildersecurityProfileIds(Collection<String> securityProfileIds)The identifier of the security profile for the user.CreateUserRequest.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.CreateUserRequest.Builderusername(String username)The user name for the account.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
username
CreateUserRequest.Builder username(String 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_-.\@]+.
- 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_-.\@]+.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
CreateUserRequest.Builder password(String 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
CreateUserRequest.Builder identityInfo(UserIdentityInfo 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
default CreateUserRequest.Builder identityInfo(Consumer<UserIdentityInfo.Builder> 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:
identityInfo(UserIdentityInfo)
-
phoneConfig
CreateUserRequest.Builder phoneConfig(UserPhoneConfig phoneConfig)
The phone settings for the user.
- Parameters:
phoneConfig- The phone settings for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneConfig
default CreateUserRequest.Builder phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)
The phone settings for the user.
This is a convenience method that creates an instance of theUserPhoneConfig.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:
phoneConfig(UserPhoneConfig)
-
directoryUserId
CreateUserRequest.Builder directoryUserId(String 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
CreateUserRequest.Builder securityProfileIds(Collection<String> 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
CreateUserRequest.Builder securityProfileIds(String... 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
CreateUserRequest.Builder routingProfileId(String 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
CreateUserRequest.Builder hierarchyGroupId(String 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
CreateUserRequest.Builder instanceId(String 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.
-
tags
CreateUserRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-