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