public class SmsMfaConfigType extends Object implements Serializable
The SMS text message multi-factor authentication (MFA) configuration type.
| Constructor and Description |
|---|
SmsMfaConfigType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSmsAuthenticationMessage()
The SMS authentication message that will be sent to users with the code
they need to sign in.
|
SmsConfigurationType |
getSmsConfiguration()
The SMS configuration.
|
int |
hashCode() |
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
The SMS authentication message that will be sent to users with the code
they need to sign in.
|
void |
setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SmsMfaConfigType |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
The SMS authentication message that will be sent to users with the code
they need to sign in.
|
SmsMfaConfigType |
withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
|
public String getSmsAuthenticationMessage()
The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsAuthenticationMessage - The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
public SmsMfaConfigType withSmsAuthenticationMessage(String smsAuthenticationMessage)
The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsAuthenticationMessage - The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
public SmsConfigurationType getSmsConfiguration()
The SMS configuration.
The SMS configuration.
public void setSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
smsConfiguration - The SMS configuration.
public SmsMfaConfigType withSmsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration.
Returns a reference to this object so that method calls can be chained together.
smsConfiguration - The SMS configuration.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.