@Generated(value="software.amazon.awssdk:codegen") public final class ForgotPasswordRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<ForgotPasswordRequest.Builder,ForgotPasswordRequest>
Represents the request to reset a user's password.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ForgotPasswordRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsMetadataType |
analyticsMetadata()
The Amazon Pinpoint analytics metadata for collecting metrics for
ForgotPassword calls. |
static ForgotPasswordRequest.Builder |
builder() |
String |
clientId()
The ID of the client associated with the user pool.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretHash()
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and
username plus the client ID in the message.
|
static Class<? extends ForgotPasswordRequest.Builder> |
serializableBuilderClass() |
ForgotPasswordRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserContextDataType |
userContextData()
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an
unexpected event by Amazon Cognito advanced security.
|
String |
username()
The user name of the user for whom you want to enter a code to reset a forgotten password.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clientId()
The ID of the client associated with the user pool.
public String secretHash()
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
public UserContextDataType userContextData()
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
public String username()
The user name of the user for whom you want to enter a code to reset a forgotten password.
public AnalyticsMetadataType analyticsMetadata()
The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword calls.
ForgotPassword calls.public ForgotPasswordRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ForgotPasswordRequest.Builder,ForgotPasswordRequest>toBuilder in class CognitoIdentityProviderRequestpublic static ForgotPasswordRequest.Builder builder()
public static Class<? extends ForgotPasswordRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.