public class MFAOptionType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies the different settings for multi-factor authentication (MFA).
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attributeName
The attribute name of the MFA option type.
|
private java.lang.String |
deliveryMedium
The delivery medium (email message or SMS message) to send the MFA code.
|
Constructor and Description |
---|
MFAOptionType() |
Modifier and Type | Method and Description |
---|---|
MFAOptionType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName()
The attribute name of the MFA option type.
|
java.lang.String |
getDeliveryMedium()
The delivery medium (email message or SMS message) to send the MFA code.
|
int |
hashCode() |
void |
setAttributeName(java.lang.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(java.lang.String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MFAOptionType |
withAttributeName(java.lang.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(java.lang.String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
|
private java.lang.String deliveryMedium
The delivery medium (email message or SMS message) to send the MFA code.
private java.lang.String attributeName
The attribute name of the MFA option type.
public void setDeliveryMedium(java.lang.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 java.lang.String getDeliveryMedium()
The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumType
public MFAOptionType withDeliveryMedium(java.lang.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(java.lang.String attributeName)
The attribute name of the MFA option type.
attributeName
- The attribute name of the MFA option type.public java.lang.String getAttributeName()
The attribute name of the MFA option type.
public MFAOptionType withAttributeName(java.lang.String attributeName)
The attribute name of the MFA option type.
attributeName
- The attribute name of the MFA option type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MFAOptionType clone()
clone
in class java.lang.Object