Class MFAOptionType
- java.lang.Object
-
- com.amazonaws.services.cognitoidp.model.MFAOptionType
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MFAOptionType extends Object implements Serializable, Cloneable
Specifies the different settings for multi-factor authentication (MFA).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MFAOptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MFAOptionTypeclone()booleanequals(Object obj)StringgetAttributeName()The attribute name of the MFA option type.StringgetDeliveryMedium()The delivery medium (email message or SMS message) to send the MFA code.inthashCode()voidsetAttributeName(String attributeName)The attribute name of the MFA option type.voidsetDeliveryMedium(DeliveryMediumType deliveryMedium)The delivery medium (email message or SMS message) to send the MFA code.voidsetDeliveryMedium(String deliveryMedium)The delivery medium (email message or SMS message) to send the MFA code.StringtoString()Returns a string representation of this object; useful for testing and debugging.MFAOptionTypewithAttributeName(String attributeName)The attribute name of the MFA option type.MFAOptionTypewithDeliveryMedium(DeliveryMediumType deliveryMedium)The delivery medium (email message or SMS message) to send the MFA code.MFAOptionTypewithDeliveryMedium(String deliveryMedium)The delivery medium (email message or SMS message) to send the MFA code.
-
-
-
Method Detail
-
setDeliveryMedium
public void setDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
- Parameters:
deliveryMedium- The delivery medium (email message or SMS message) to send the MFA code.- See Also:
DeliveryMediumType
-
getDeliveryMedium
public String getDeliveryMedium()
The delivery medium (email message or SMS message) to send the MFA code.
- Returns:
- The delivery medium (email message or SMS message) to send the MFA code.
- See Also:
DeliveryMediumType
-
withDeliveryMedium
public MFAOptionType withDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
- Parameters:
deliveryMedium- The delivery medium (email message or SMS message) to send the MFA code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeliveryMediumType
-
setDeliveryMedium
public void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
- Parameters:
deliveryMedium- The delivery medium (email message or SMS message) to send the MFA code.- See Also:
DeliveryMediumType
-
withDeliveryMedium
public MFAOptionType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
- Parameters:
deliveryMedium- The delivery medium (email message or SMS message) to send the MFA code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeliveryMediumType
-
setAttributeName
public void setAttributeName(String attributeName)
The attribute name of the MFA option type.
- Parameters:
attributeName- The attribute name of the MFA option type.
-
getAttributeName
public String getAttributeName()
The attribute name of the MFA option type.
- Returns:
- The attribute name of the MFA option type.
-
withAttributeName
public MFAOptionType withAttributeName(String attributeName)
The attribute name of the MFA option type.
- Parameters:
attributeName- The attribute name of the MFA option type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MFAOptionType clone()
-
-