Class MFAOptionType
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe attribute name of the MFA option type.static MFAOptionType.Builderbuilder()final DeliveryMediumTypeThe delivery medium to send the MFA code.final StringThe delivery medium to send the MFA code.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends MFAOptionType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<MFAOptionType.Builder,MFAOptionType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-