@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MFAOptionType extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the different settings for multi-factor authentication (MFA).
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 (email message or SMS message) to send the MFA code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The attribute name of the MFA option type.
|
void |
setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
void |
setDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MFAOptionType |
withAttributeName(String attributeName)
The attribute name of the MFA option type.
|
MFAOptionType |
withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
MFAOptionType |
withDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
public void setDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
deliveryMedium
- The delivery medium (email message or SMS message) to send the MFA code.DeliveryMediumType
public String getDeliveryMedium()
The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumType
public MFAOptionType withDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
deliveryMedium
- The delivery medium (email message or SMS message) to send the MFA code.DeliveryMediumType
public void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
deliveryMedium
- The delivery medium (email message or SMS message) to send the MFA code.DeliveryMediumType
public MFAOptionType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
deliveryMedium
- The delivery medium (email message or SMS message) to send the MFA code.DeliveryMediumType
public void setAttributeName(String attributeName)
The attribute name of the MFA option type.
attributeName
- The attribute name of the MFA option type.public String getAttributeName()
The attribute name of the MFA option type.
public MFAOptionType withAttributeName(String attributeName)
The attribute name of the MFA option type.
attributeName
- The attribute name of the MFA option type.public String toString()
toString
in class Object
Object.toString()
public MFAOptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.