@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 |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication type for the user.
|
String |
getFirstName()
The first name, or given name, of the user.
|
String |
getLastName()
The last name, or surname, of the user.
|
String |
getMessageAction()
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
String |
getUserName()
The email address of the user.
|
int |
hashCode() |
void |
setAuthenticationType(String authenticationType)
The authentication type for the user.
|
void |
setFirstName(String firstName)
The first name, or given name, of the user.
|
void |
setLastName(String lastName)
The last name, or surname, of the user.
|
void |
setMessageAction(String messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
void |
setUserName(String userName)
The email address of the user.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type for the user.
|
CreateUserRequest |
withAuthenticationType(String authenticationType)
The authentication type for the user.
|
CreateUserRequest |
withFirstName(String firstName)
The first name, or given name, of the user.
|
CreateUserRequest |
withLastName(String lastName)
The last name, or surname, of the user.
|
CreateUserRequest |
withMessageAction(MessageAction messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
CreateUserRequest |
withMessageAction(String messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
CreateUserRequest |
withUserName(String userName)
The email address of the user.
|
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 email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
userName
- The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
public String getUserName()
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
public CreateUserRequest withUserName(String userName)
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
userName
- The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
public void setMessageAction(String messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
messageAction
- The action to take for the welcome email that is sent to a user after the user is created in the user
pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or
last name of the user. If the value is null, the email is sent. The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageAction
public String getMessageAction()
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageAction
public CreateUserRequest withMessageAction(String messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
messageAction
- The action to take for the welcome email that is sent to a user after the user is created in the user
pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or
last name of the user. If the value is null, the email is sent. The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageAction
public CreateUserRequest withMessageAction(MessageAction messageAction)
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
messageAction
- The action to take for the welcome email that is sent to a user after the user is created in the user
pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or
last name of the user. If the value is null, the email is sent. The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
MessageAction
public void setFirstName(String firstName)
The first name, or given name, of the user.
firstName
- The first name, or given name, of the user.public String getFirstName()
The first name, or given name, of the user.
public CreateUserRequest withFirstName(String firstName)
The first name, or given name, of the user.
firstName
- The first name, or given name, of the user.public void setLastName(String lastName)
The last name, or surname, of the user.
lastName
- The last name, or surname, of the user.public String getLastName()
The last name, or surname, of the user.
public CreateUserRequest withLastName(String lastName)
The last name, or surname, of the user.
lastName
- The last name, or surname, of the user.public void setAuthenticationType(String authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType
- The authentication type for the user. You must specify USERPOOL.AuthenticationType
public String getAuthenticationType()
The authentication type for the user. You must specify USERPOOL.
AuthenticationType
public CreateUserRequest withAuthenticationType(String authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType
- The authentication type for the user. You must specify USERPOOL.AuthenticationType
public CreateUserRequest withAuthenticationType(AuthenticationType authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType
- The authentication type for the user. You must specify USERPOOL.AuthenticationType
public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()