@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MFAOptionType extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
MFAOptionType() |
| Modifier and Type | Method and Description |
|---|---|
MFAOptionType |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The attribute name of the MFA option type.
|
String |
getDeliveryMedium()
The delivery medium to send the MFA code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
The attribute name of the MFA option type.
|
void |
setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code.
|
void |
setDeliveryMedium(String deliveryMedium)
The delivery medium to send the MFA code.
|
String |
toString()
Returns a string representation of this object.
|
MFAOptionType |
withAttributeName(String attributeName)
The attribute name of the MFA option type.
|
MFAOptionType |
withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code.
|
MFAOptionType |
withDeliveryMedium(String deliveryMedium)
The delivery medium to send the MFA code.
|
public void setDeliveryMedium(String deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery
medium value.
deliveryMedium - The delivery medium to send the MFA code. You can use this parameter to set only the SMS
delivery medium value.DeliveryMediumTypepublic String getDeliveryMedium()
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery
medium value.
SMS
delivery medium value.DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(String deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery
medium value.
deliveryMedium - The delivery medium to send the MFA code. You can use this parameter to set only the SMS
delivery medium value.DeliveryMediumTypepublic void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery
medium value.
deliveryMedium - The delivery medium to send the MFA code. You can use this parameter to set only the SMS
delivery medium value.DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery
medium value.
deliveryMedium - The delivery medium to send the MFA code. You can use this parameter to set only the SMS
delivery medium value.DeliveryMediumTypepublic void setAttributeName(String attributeName)
The attribute name of the MFA option type. The only valid value is phone_number.
attributeName - The attribute name of the MFA option type. The only valid value is phone_number.public String getAttributeName()
The attribute name of the MFA option type. The only valid value is phone_number.
phone_number.public MFAOptionType withAttributeName(String attributeName)
The attribute name of the MFA option type. The only valid value is phone_number.
attributeName - The attribute name of the MFA option type. The only valid value is phone_number.public String toString()
toString in class ObjectObject.toString()public MFAOptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.