@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminDisableUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to disable any user as an administrator.
NOOP| Constructor and Description |
|---|
AdminDisableUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
AdminDisableUserRequest |
clone() |
boolean |
equals(Object obj) |
String |
getUsername()
The user name of the user you wish to disable.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
|
int |
hashCode() |
void |
setUsername(String username)
The user name of the user you wish to disable.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable the user.
|
String |
toString()
Returns a string representation of this object.
|
AdminDisableUserRequest |
withUsername(String username)
The user name of the user you wish to disable.
|
AdminDisableUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable the user.
|
addHandlerContext, copyBaseTo, 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 setUserPoolId(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 String getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
public AdminDisableUserRequest withUserPoolId(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(String username)
The user name of the user you wish to disable.
username - The user name of the user you wish to disable.public String getUsername()
The user name of the user you wish to disable.
public AdminDisableUserRequest withUsername(String username)
The user name of the user you wish to disable.
username - The user name of the user you wish to disable.public String toString()
toString in class ObjectObject.toString()public AdminDisableUserRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.