Class RecoveryOptionType
- 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 map containing a priority as a key, and recovery method name as a value.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecoveryOptionType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecoveryOptionType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RecoveryOptionNameTypename()The recovery method for a user.StringnameAsString()The recovery method for a user.Integerpriority()A positive integer specifying priority of a method with 1 being the highest priority.List<SdkField<?>>sdkFields()static Class<? extends RecoveryOptionType.Builder>serializableBuilderClass()RecoveryOptionType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
priority
public final Integer priority()
A positive integer specifying priority of a method with 1 being the highest priority.
- Returns:
- A positive integer specifying priority of a method with 1 being the highest priority.
-
name
public final RecoveryOptionNameType name()
The recovery method for a user.
If the service returns an enum value that is not available in the current SDK version,
namewill returnRecoveryOptionNameType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The recovery method for a user.
- See Also:
RecoveryOptionNameType
-
nameAsString
public final String nameAsString()
The recovery method for a user.
If the service returns an enum value that is not available in the current SDK version,
namewill returnRecoveryOptionNameType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The recovery method for a user.
- See Also:
RecoveryOptionNameType
-
toBuilder
public RecoveryOptionType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecoveryOptionType.Builder,RecoveryOptionType>
-
builder
public static RecoveryOptionType.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecoveryOptionType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-