@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserRequest extends ConnectRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateUserRequest.Builder |
builder() |
String |
directoryUserId()
The unique identifier for the user account in the directory service directory used for identity management.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hierarchyGroupId()
The unique identifier for the hierarchy group to assign to the user created.
|
UserIdentityInfo |
identityInfo()
Information about the user, including email address, first name, and last name.
|
String |
instanceId()
The identifier for your Amazon Connect instance.
|
String |
password()
The password for the user account to create.
|
UserPhoneConfig |
phoneConfig()
Specifies the phone settings for the user, including
AfterContactWorkTimeLimit,
AutoAccept, DeskPhoneNumber, and PhoneType. |
String |
routingProfileId()
The unique identifier for the routing profile to assign to the user created.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityProfileIds()
The unique identifier of the security profile to assign to the user created.
|
static Class<? extends CreateUserRequest.Builder> |
serializableBuilderClass() |
CreateUserRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name in Amazon Connect for the account to create.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String username()
The user name in Amazon Connect for the account to create. If you are using SAML for identity management in your
Amazon Connect, the value for Username can include up to 64 characters from [a-zA-Z0-9_-.\@]+.
Username can include up to 64 characters from
[a-zA-Z0-9_-.\@]+.public String password()
The password for the user account to create. This is required if you are using Amazon Connect for identity
management. If you are using SAML for identity management and include this parameter, an
InvalidRequestException is returned.
InvalidRequestException is returned.public UserIdentityInfo identityInfo()
Information about the user, including email address, first name, and last name.
public UserPhoneConfig phoneConfig()
Specifies the phone settings for the user, including AfterContactWorkTimeLimit,
AutoAccept, DeskPhoneNumber, and PhoneType.
AfterContactWorkTimeLimit,
AutoAccept, DeskPhoneNumber, and PhoneType.public String directoryUserId()
The unique identifier for the user account in the directory service directory used for identity management. If
Amazon Connect is unable to access the existing directory, you can use the DirectoryUserId to
authenticate users. If you include the parameter, it is assumed that Amazon Connect cannot access the directory.
If the parameter is not included, the UserIdentityInfo is used to authenticate users from your
existing 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 InvalidRequestException is returned.
DirectoryUserId to authenticate users. If you include the parameter, it is assumed that
Amazon Connect cannot access the directory. If the parameter is not included, the
UserIdentityInfo is used to authenticate users from your existing 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 InvalidRequestException is returned.
public List<String> securityProfileIds()
The unique identifier of the security profile to assign to the user created.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String routingProfileId()
The unique identifier for the routing profile to assign to the user created.
public String hierarchyGroupId()
The unique identifier for the hierarchy group to assign to the user created.
public String instanceId()
The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.
public CreateUserRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>toBuilder in class ConnectRequestpublic static CreateUserRequest.Builder builder()
public static Class<? extends CreateUserRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.