Class MFAOptionType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.MFAOptionType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MFAOptionType.Builder,MFAOptionType>
@Generated("software.amazon.awssdk:codegen") public final class MFAOptionType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MFAOptionType.Builder,MFAOptionType>
This data type is no longer supported. Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMFAOptionType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattributeName()The attribute name of the MFA option type.static MFAOptionType.Builderbuilder()DeliveryMediumTypedeliveryMedium()The delivery medium to send the MFA code.StringdeliveryMediumAsString()The delivery medium to send the MFA code.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MFAOptionType.Builder>serializableBuilderClass()MFAOptionType.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
-
deliveryMedium
public final DeliveryMediumType deliveryMedium()
The delivery medium to send the MFA code. You can use this parameter to set only the
SMSdelivery medium value.If the service returns an enum value that is not available in the current SDK version,
deliveryMediumwill returnDeliveryMediumType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryMediumAsString().- Returns:
- The delivery medium to send the MFA code. You can use this parameter to set only the
SMSdelivery medium value. - See Also:
DeliveryMediumType
-
deliveryMediumAsString
public final String deliveryMediumAsString()
The delivery medium to send the MFA code. You can use this parameter to set only the
SMSdelivery medium value.If the service returns an enum value that is not available in the current SDK version,
deliveryMediumwill returnDeliveryMediumType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeliveryMediumAsString().- Returns:
- The delivery medium to send the MFA code. You can use this parameter to set only the
SMSdelivery medium value. - See Also:
DeliveryMediumType
-
attributeName
public final String attributeName()
The attribute name of the MFA option type. The only valid value is
phone_number.- Returns:
- The attribute name of the MFA option type. The only valid value is
phone_number.
-
toBuilder
public MFAOptionType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MFAOptionType.Builder,MFAOptionType>
-
builder
public static MFAOptionType.Builder builder()
-
serializableBuilderClass
public static Class<? extends MFAOptionType.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.
-
-