public class AdminDisableUserRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to disable any user as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
username
The user name of the user you wish to disable.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to disable the user.
|
NOOP
Constructor and Description |
---|
AdminDisableUserRequest() |
Modifier and Type | Method and Description |
---|---|
AdminDisableUserRequest |
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 disable.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
|
int |
hashCode() |
void |
setUsername(java.lang.String username)
The user name of the user you wish to disable.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to disable the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminDisableUserRequest |
withUsername(java.lang.String username)
The user name of the user you wish to disable.
|
AdminDisableUserRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to disable 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 disable the user.
private java.lang.String username
The user name of the user you wish to disable.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to disable the user.
userPoolId
- The user pool ID for the user pool where you want to disable the
user.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
public AdminDisableUserRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to disable the user.
userPoolId
- The user pool ID for the user pool where you want to disable the
user.public void setUsername(java.lang.String username)
The user name of the user you wish to disable.
username
- The user name of the user you wish to disable.public java.lang.String getUsername()
The user name of the user you wish to disable.
public AdminDisableUserRequest withUsername(java.lang.String username)
The user name of the user you wish to disable.
username
- The user name of the user you wish to disable.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 AdminDisableUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()