public class ChangePasswordRequest extends AmazonWebServiceRequest implements Serializable
Changes the password for a specified user in a user pool.
| Constructor and Description |
|---|
ChangePasswordRequest() |
| Modifier and Type | Method and Description |
|---|---|
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; useful for testing and
debugging.
|
ChangePasswordRequest |
withAccessToken(String accessToken)
The access token.
|
ChangePasswordRequest |
withPreviousPassword(String previousPassword)
The old password.
|
ChangePasswordRequest |
withProposedPassword(String proposedPassword)
The new password.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPreviousPassword()
The old password.
Constraints:
Length: 6 - 256
Pattern: [\S]+
The old password.
public void setPreviousPassword(String previousPassword)
The old password.
Constraints:
Length: 6 - 256
Pattern: [\S]+
previousPassword - The old password.
public ChangePasswordRequest withPreviousPassword(String previousPassword)
The old password.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 256
Pattern: [\S]+
previousPassword - The old password.
public String getProposedPassword()
The new password.
Constraints:
Length: 6 - 256
Pattern: [\S]+
The new password.
public void setProposedPassword(String proposedPassword)
The new password.
Constraints:
Length: 6 - 256
Pattern: [\S]+
proposedPassword - The new password.
public ChangePasswordRequest withProposedPassword(String proposedPassword)
The new password.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 256
Pattern: [\S]+
proposedPassword - The new password.
public String getAccessToken()
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token.
public void setAccessToken(String accessToken)
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access token.
public ChangePasswordRequest withAccessToken(String accessToken)
The access token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access token.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.