public class MFAOptionType
extends java.lang.Object
implements java.io.Serializable
This data type is no longer supported. Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.
| Constructor and Description |
|---|
MFAOptionType() |
| Modifier and Type | Method and Description |
|---|---|
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 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 to send the MFA code.
|
void |
setDeliveryMedium(java.lang.String deliveryMedium)
The delivery medium 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 to send the MFA code.
|
MFAOptionType |
withDeliveryMedium(java.lang.String deliveryMedium)
The delivery medium to send the MFA code.
|
public java.lang.String getDeliveryMedium()
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
Constraints:
Allowed Values: SMS, EMAIL
The delivery medium to send the MFA code. You can use this
parameter to set only the SMS delivery medium value.
DeliveryMediumTypepublic void setDeliveryMedium(java.lang.String deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium -
The delivery medium to send the MFA code. You can use this
parameter to set only the SMS delivery medium
value.
DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(java.lang.String deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium -
The delivery medium to send the MFA code. You can use this
parameter to set only the SMS delivery medium
value.
DeliveryMediumTypepublic void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium -
The delivery medium to send the MFA code. You can use this
parameter to set only the SMS delivery medium
value.
DeliveryMediumTypepublic MFAOptionType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS, EMAIL
deliveryMedium -
The delivery medium to send the MFA code. You can use this
parameter to set only the SMS delivery medium
value.
DeliveryMediumTypepublic java.lang.String getAttributeName()
The attribute name of the MFA option type. The only valid value is
phone_number.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The attribute name of the MFA option type. The only valid value
is phone_number.
public void setAttributeName(java.lang.String attributeName)
The attribute name of the MFA option type. The only valid value is
phone_number.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
attributeName -
The attribute name of the MFA option type. The only valid
value is phone_number.
public MFAOptionType withAttributeName(java.lang.String attributeName)
The attribute name of the MFA option type. The only valid value is
phone_number.
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. The only valid
value is phone_number.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object