@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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; useful for testing and debugging.
|
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, 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 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 Object
Object.toString()
public AdminDisableUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.