@Generated(value="software.amazon.awssdk:codegen") public final class ChangePasswordRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
Represents the request to change a user password.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChangePasswordRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
A valid access token that Amazon Cognito issued to the user whose password you want to change.
|
static ChangePasswordRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
previousPassword()
The old password.
|
String |
proposedPassword()
The new password.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChangePasswordRequest.Builder> |
serializableBuilderClass() |
ChangePasswordRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String previousPassword()
The old password.
public final String proposedPassword()
The new password.
public final String accessToken()
A valid access token that Amazon Cognito issued to the user whose password you want to change.
public ChangePasswordRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>toBuilder in class CognitoIdentityProviderRequestpublic static ChangePasswordRequest.Builder builder()
public static Class<? extends ChangePasswordRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.