@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangePasswordRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to change a user password.
NOOP| Constructor and Description |
|---|
ChangePasswordRequest() |
| Modifier and Type | Method and Description |
|---|---|
ChangePasswordRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token in the change password request.
|
String |
getPreviousPassword()
The old password in the change password request.
|
String |
getProposedPassword()
The new password in the change password request.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token in the change password request.
|
void |
setPreviousPassword(String previousPassword)
The old password in the change password request.
|
void |
setProposedPassword(String proposedPassword)
The new password in the change password request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ChangePasswordRequest |
withAccessToken(String accessToken)
The access token in the change password request.
|
ChangePasswordRequest |
withPreviousPassword(String previousPassword)
The old password in the change password request.
|
ChangePasswordRequest |
withProposedPassword(String proposedPassword)
The new password in the change password request.
|
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, withSdkRequestTimeoutpublic void setPreviousPassword(String previousPassword)
The old password in the change password request.
previousPassword - The old password in the change password request.public String getPreviousPassword()
The old password in the change password request.
public ChangePasswordRequest withPreviousPassword(String previousPassword)
The old password in the change password request.
previousPassword - The old password in the change password request.public void setProposedPassword(String proposedPassword)
The new password in the change password request.
proposedPassword - The new password in the change password request.public String getProposedPassword()
The new password in the change password request.
public ChangePasswordRequest withProposedPassword(String proposedPassword)
The new password in the change password request.
proposedPassword - The new password in the change password request.public void setAccessToken(String accessToken)
The access token in the change password request.
accessToken - The access token in the change password request.public String getAccessToken()
The access token in the change password request.
public ChangePasswordRequest withAccessToken(String accessToken)
The access token in the change password request.
accessToken - The access token in the change password request.public String toString()
toString in class ObjectObject.toString()public ChangePasswordRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.