@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUserRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateUserRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryUserId()
The identifier of the user account in the directory used for identity management.
|
String |
getHierarchyGroupId()
The identifier of the hierarchy group for the user.
|
UserIdentityInfo |
getIdentityInfo()
The information about the identity of the user.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getPassword()
The password for the user account.
|
UserPhoneConfig |
getPhoneConfig()
The phone settings for the user.
|
String |
getRoutingProfileId()
The identifier of the routing profile for the user.
|
List<String> |
getSecurityProfileIds()
The identifier of the security profile for the user.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getUsername()
The user name for the account.
|
int |
hashCode() |
void |
setDirectoryUserId(String directoryUserId)
The identifier of the user account in the directory used for identity management.
|
void |
setHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
void |
setIdentityInfo(UserIdentityInfo identityInfo)
The information about the identity of the user.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setPassword(String password)
The password for the user account.
|
void |
setPhoneConfig(UserPhoneConfig phoneConfig)
The phone settings for the user.
|
void |
setRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
|
void |
setSecurityProfileIds(Collection<String> securityProfileIds)
The identifier of the security profile for the user.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setUsername(String username)
The user name for the account.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withDirectoryUserId(String directoryUserId)
The identifier of the user account in the directory used for identity management.
|
CreateUserRequest |
withHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
CreateUserRequest |
withIdentityInfo(UserIdentityInfo identityInfo)
The information about the identity of the user.
|
CreateUserRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateUserRequest |
withPassword(String password)
The password for the user account.
|
CreateUserRequest |
withPhoneConfig(UserPhoneConfig phoneConfig)
The phone settings for the user.
|
CreateUserRequest |
withRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
|
CreateUserRequest |
withSecurityProfileIds(Collection<String> securityProfileIds)
The identifier of the security profile for the user.
|
CreateUserRequest |
withSecurityProfileIds(String... securityProfileIds)
The identifier of the security profile for the user.
|
CreateUserRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateUserRequest |
withUsername(String username)
The user name for the account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUsername(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_-.\@]+.
Username can include @ only if used in an email format. For example:
Correct: testuser
Correct: testuser@example.com
Incorrect: testuser@example
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
public String getUsername()
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
Username can include @ only if used in an email format. For example:
Correct: testuser
Correct: testuser@example.com
Incorrect: testuser@example
public CreateUserRequest withUsername(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_-.\@]+.
Username can include @ only if used in an email format. For example:
Correct: testuser
Correct: testuser@example.com
Incorrect: testuser@example
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
public void setPassword(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.
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.public String getPassword()
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.
public CreateUserRequest withPassword(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.
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.public void setIdentityInfo(UserIdentityInfo identityInfo)
The information about the identity of the user.
identityInfo
- The information about the identity of the user.public UserIdentityInfo getIdentityInfo()
The information about the identity of the user.
public CreateUserRequest withIdentityInfo(UserIdentityInfo identityInfo)
The information about the identity of the user.
identityInfo
- The information about the identity of the user.public void setPhoneConfig(UserPhoneConfig phoneConfig)
The phone settings for the user.
phoneConfig
- The phone settings for the user.public UserPhoneConfig getPhoneConfig()
The phone settings for the user.
public CreateUserRequest withPhoneConfig(UserPhoneConfig phoneConfig)
The phone settings for the user.
phoneConfig
- The phone settings for the user.public void setDirectoryUserId(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.
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.
public String getDirectoryUserId()
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.
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.
public CreateUserRequest withDirectoryUserId(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.
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.
public List<String> getSecurityProfileIds()
The identifier of the security profile for the user.
public void setSecurityProfileIds(Collection<String> securityProfileIds)
The identifier of the security profile for the user.
securityProfileIds
- The identifier of the security profile for the user.public CreateUserRequest withSecurityProfileIds(String... securityProfileIds)
The identifier of the security profile for the user.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityProfileIds(java.util.Collection)
or withSecurityProfileIds(java.util.Collection)
if
you want to override the existing values.
securityProfileIds
- The identifier of the security profile for the user.public CreateUserRequest withSecurityProfileIds(Collection<String> securityProfileIds)
The identifier of the security profile for the user.
securityProfileIds
- The identifier of the security profile for the user.public void setRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
routingProfileId
- The identifier of the routing profile for the user.public String getRoutingProfileId()
The identifier of the routing profile for the user.
public CreateUserRequest withRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
routingProfileId
- The identifier of the routing profile for the user.public void setHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
hierarchyGroupId
- The identifier of the hierarchy group for the user.public String getHierarchyGroupId()
The identifier of the hierarchy group for the user.
public CreateUserRequest withHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
hierarchyGroupId
- The identifier of the hierarchy group for the user.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateUserRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreateUserRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreateUserRequest addTagsEntry(String key, String value)
public CreateUserRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()