@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() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token.
|
String |
getPreviousPassword()
The old password.
|
String |
getProposedPassword()
The new password.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setPreviousPassword(String previousPassword)
The old password.
|
void |
setProposedPassword(String proposedPassword)
The new password.
|
String |
toString()
Returns a string representation of this object.
|
ChangePasswordRequest |
withAccessToken(String accessToken)
The access token.
|
ChangePasswordRequest |
withPreviousPassword(String previousPassword)
The old password.
|
ChangePasswordRequest |
withProposedPassword(String proposedPassword)
The new password.
|
addHandlerContext, copyBaseTo, 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 setPreviousPassword(String previousPassword)
The old password.
previousPassword
- The old password.public String getPreviousPassword()
The old password.
public ChangePasswordRequest withPreviousPassword(String previousPassword)
The old password.
previousPassword
- The old password.public void setProposedPassword(String proposedPassword)
The new password.
proposedPassword
- The new password.public String getProposedPassword()
The new password.
public ChangePasswordRequest withProposedPassword(String proposedPassword)
The new password.
proposedPassword
- The new password.public void setAccessToken(String accessToken)
The access token.
accessToken
- The access token.public String getAccessToken()
The access token.
public ChangePasswordRequest withAccessToken(String accessToken)
The access token.
accessToken
- The access token.public String toString()
toString
in class Object
Object.toString()
public ChangePasswordRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.