@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnableUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableUserRequest |
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 |
getUserName()
The email address of the user.
|
int |
hashCode() |
void |
setAuthenticationType(String authenticationType)
The authentication type for the user.
|
void |
setUserName(String userName)
The email address of the user.
|
String |
toString()
Returns a string representation of this object.
|
EnableUserRequest |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type for the user.
|
EnableUserRequest |
withAuthenticationType(String authenticationType)
The authentication type for the user.
|
EnableUserRequest |
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, withSdkRequestTimeoutpublic 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 EnableUserRequest 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 setAuthenticationType(String authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType - The authentication type for the user. You must specify USERPOOL.AuthenticationTypepublic String getAuthenticationType()
The authentication type for the user. You must specify USERPOOL.
AuthenticationTypepublic EnableUserRequest withAuthenticationType(String authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType - The authentication type for the user. You must specify USERPOOL.AuthenticationTypepublic EnableUserRequest withAuthenticationType(AuthenticationType authenticationType)
The authentication type for the user. You must specify USERPOOL.
authenticationType - The authentication type for the user. You must specify USERPOOL.AuthenticationTypepublic String toString()
toString in class ObjectObject.toString()public EnableUserRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()