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