Class MFAOptionType
java.lang.Object
com.amazonaws.services.cognitoidp.model.MFAOptionType
- All Implemented Interfaces:
Serializable
,Cloneable
Specifies the different settings for multi-factor authentication (MFA).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The attribute name of the MFA option type.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributeName
(String attributeName) The attribute name of the MFA option type.withDeliveryMedium
(DeliveryMediumType deliveryMedium) The delivery medium (email message or SMS message) to send the MFA code.withDeliveryMedium
(String deliveryMedium) The delivery medium (email message or SMS message) to send the MFA code.
-
Constructor Details
-
MFAOptionType
public MFAOptionType()
-
-
Method Details
-
setDeliveryMedium
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:
-
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:
-
withDeliveryMedium
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:
-
setDeliveryMedium
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:
-
withDeliveryMedium
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:
-
setAttributeName
The attribute name of the MFA option type.
- Parameters:
attributeName
- The attribute name of the MFA option type.
-
getAttributeName
The attribute name of the MFA option type.
- Returns:
- The attribute name of the MFA option type.
-
withAttributeName
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-