java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.RecoveryOptionType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<RecoveryOptionType.Builder,RecoveryOptionType>

@Generated("software.amazon.awssdk:codegen") public final class RecoveryOptionType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecoveryOptionType.Builder,RecoveryOptionType>

A recovery option for a user. The AccountRecoverySettingType data type is an array of this object. Each RecoveryOptionType has a priority property that determines whether it is a primary or secondary option.

For example, if verified_email has a priority of 1 and verified_phone_number has a priority of 2, your user pool sends account-recovery messages to a verified email address but falls back to an SMS message if the user has a verified phone number. The admin_only option prevents self-service account recovery.

See Also: