public class AdminEnableUserRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request that enables the user as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
username
The user name of the user you wish to ebable.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to enable the user.
|
NOOP
Constructor and Description |
---|
AdminEnableUserRequest() |
Modifier and Type | Method and Description |
---|---|
AdminEnableUserRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getUsername()
The user name of the user you wish to ebable.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to enable the user.
|
int |
hashCode() |
void |
setUsername(java.lang.String username)
The user name of the user you wish to ebable.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to enable the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminEnableUserRequest |
withUsername(java.lang.String username)
The user name of the user you wish to ebable.
|
AdminEnableUserRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to enable the user.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userPoolId
The user pool ID for the user pool where you want to enable the user.
private java.lang.String username
The user name of the user you wish to ebable.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to enable the user.
userPoolId
- The user pool ID for the user pool where you want to enable the
user.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to enable the user.
public AdminEnableUserRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to enable the user.
userPoolId
- The user pool ID for the user pool where you want to enable the
user.public void setUsername(java.lang.String username)
The user name of the user you wish to ebable.
username
- The user name of the user you wish to ebable.public java.lang.String getUsername()
The user name of the user you wish to ebable.
public AdminEnableUserRequest withUsername(java.lang.String username)
The user name of the user you wish to ebable.
username
- The user name of the user you wish to ebable.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AdminEnableUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()