@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()
The access token.
|
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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String previousPassword()
The old password.
public String proposedPassword()
The new password.
public String accessToken()
The access token.
public ChangePasswordRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
toBuilder
in class CognitoIdentityProviderRequest
public static ChangePasswordRequest.Builder builder()
public static Class<? extends ChangePasswordRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.