public class SMSMfaSettingsType extends Object implements Serializable
The type used for enabling SMS MFA at the user level.
| Constructor and Description |
|---|
SMSMfaSettingsType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether SMS text message MFA is enabled.
|
Boolean |
getPreferredMfa()
Specifies whether SMS is the preferred MFA method.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether SMS text message MFA is enabled.
|
Boolean |
isPreferredMfa()
Specifies whether SMS is the preferred MFA method.
|
void |
setEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
|
void |
setPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SMSMfaSettingsType |
withEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
|
SMSMfaSettingsType |
withPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
|
public Boolean isEnabled()
Specifies whether SMS text message MFA is enabled.
Specifies whether SMS text message MFA is enabled.
public Boolean getEnabled()
Specifies whether SMS text message MFA is enabled.
Specifies whether SMS text message MFA is enabled.
public void setEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
enabled - Specifies whether SMS text message MFA is enabled.
public SMSMfaSettingsType withEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
Returns a reference to this object so that method calls can be chained together.
enabled - Specifies whether SMS text message MFA is enabled.
public Boolean isPreferredMfa()
Specifies whether SMS is the preferred MFA method.
Specifies whether SMS is the preferred MFA method.
public Boolean getPreferredMfa()
Specifies whether SMS is the preferred MFA method.
Specifies whether SMS is the preferred MFA method.
public void setPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
preferredMfa - Specifies whether SMS is the preferred MFA method.
public SMSMfaSettingsType withPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
Returns a reference to this object so that method calls can be chained together.
preferredMfa - Specifies whether SMS is the preferred MFA method.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.