public class MFAOptionType extends Object implements Serializable
Specifies the different settings for multi-factor authentication (MFA).
| Constructor and Description |
|---|
MFAOptionType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getDeliveryMedium()
The delivery medium (email message or SMS message) to send the MFA code.
Constraints:
Allowed Values: SMS, EMAIL
The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumTypepublic void setDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium - The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(String deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium - The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumTypepublic void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium - The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium (email message or SMS message) to send the MFA code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium - The delivery medium (email message or SMS message) to send the MFA code.
DeliveryMediumTypepublic String getAttributeName()
The attribute name of the MFA option type.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The attribute name of the MFA option type.
public void setAttributeName(String attributeName)
The attribute name of the MFA option type.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
attributeName - The attribute name of the MFA option type.
public MFAOptionType withAttributeName(String attributeName)
The attribute name of the MFA option type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
attributeName - The attribute name of the MFA option type.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.