public class ChangePasswordRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to change a user password.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accessToken
The access token in the change password request.
|
private java.lang.String |
previousPassword
The old password in the change password request.
|
private java.lang.String |
proposedPassword
The new password in the change password request.
|
NOOP
Constructor and Description |
---|
ChangePasswordRequest() |
Modifier and Type | Method and Description |
---|---|
ChangePasswordRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessToken()
The access token in the change password request.
|
java.lang.String |
getPreviousPassword()
The old password in the change password request.
|
java.lang.String |
getProposedPassword()
The new password in the change password request.
|
int |
hashCode() |
void |
setAccessToken(java.lang.String accessToken)
The access token in the change password request.
|
void |
setPreviousPassword(java.lang.String previousPassword)
The old password in the change password request.
|
void |
setProposedPassword(java.lang.String proposedPassword)
The new password in the change password request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChangePasswordRequest |
withAccessToken(java.lang.String accessToken)
The access token in the change password request.
|
ChangePasswordRequest |
withPreviousPassword(java.lang.String previousPassword)
The old password in the change password request.
|
ChangePasswordRequest |
withProposedPassword(java.lang.String proposedPassword)
The new password in the change password request.
|
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 previousPassword
The old password in the change password request.
private java.lang.String proposedPassword
The new password in the change password request.
private java.lang.String accessToken
The access token in the change password request.
public void setPreviousPassword(java.lang.String previousPassword)
The old password in the change password request.
previousPassword
- The old password in the change password request.public java.lang.String getPreviousPassword()
The old password in the change password request.
public ChangePasswordRequest withPreviousPassword(java.lang.String previousPassword)
The old password in the change password request.
previousPassword
- The old password in the change password request.public void setProposedPassword(java.lang.String proposedPassword)
The new password in the change password request.
proposedPassword
- The new password in the change password request.public java.lang.String getProposedPassword()
The new password in the change password request.
public ChangePasswordRequest withProposedPassword(java.lang.String proposedPassword)
The new password in the change password request.
proposedPassword
- The new password in the change password request.public void setAccessToken(java.lang.String accessToken)
The access token in the change password request.
accessToken
- The access token in the change password request.public java.lang.String getAccessToken()
The access token in the change password request.
public ChangePasswordRequest withAccessToken(java.lang.String accessToken)
The access token in the change password request.
accessToken
- The access token in the change password request.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 ChangePasswordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()