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 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
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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MFAOptionType clone()
-
-