@Generated(value="software.amazon.awssdk:codegen") public final class CreateBackendAuthForgotPasswordConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBackendAuthForgotPasswordConfig.Builder,CreateBackendAuthForgotPasswordConfig>
Describes the forgot password policy for authenticating into the Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBackendAuthForgotPasswordConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateBackendAuthForgotPasswordConfig.Builder |
builder() |
DeliveryMethod |
deliveryMethod()
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their
password.
|
String |
deliveryMethodAsString()
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their
password.
|
EmailSettings |
emailSettings()
The configuration for the email sent when an app user forgets their password.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackendAuthForgotPasswordConfig.Builder> |
serializableBuilderClass() |
SmsSettings |
smsSettings()
The configuration for the SMS message sent when an app user forgets their password.
|
CreateBackendAuthForgotPasswordConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DeliveryMethod deliveryMethod()
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
If the service returns an enum value that is not available in the current SDK version, deliveryMethod
will return DeliveryMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deliveryMethodAsString().
DeliveryMethodpublic final String deliveryMethodAsString()
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
If the service returns an enum value that is not available in the current SDK version, deliveryMethod
will return DeliveryMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deliveryMethodAsString().
DeliveryMethodpublic final EmailSettings emailSettings()
The configuration for the email sent when an app user forgets their password.
public final SmsSettings smsSettings()
The configuration for the SMS message sent when an app user forgets their password.
public CreateBackendAuthForgotPasswordConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBackendAuthForgotPasswordConfig.Builder,CreateBackendAuthForgotPasswordConfig>public static CreateBackendAuthForgotPasswordConfig.Builder builder()
public static Class<? extends CreateBackendAuthForgotPasswordConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.