@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSMfaSettingsType extends Object implements Serializable, Cloneable, StructuredPojo
The type used for enabling SMS MFA at the user level.
| Constructor and Description |
|---|
SMSMfaSettingsType() |
| Modifier and Type | Method and Description |
|---|---|
SMSMfaSettingsType |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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 void setEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
enabled - Specifies whether SMS text message MFA is enabled.public Boolean getEnabled()
Specifies whether SMS text message MFA is enabled.
public SMSMfaSettingsType withEnabled(Boolean enabled)
Specifies whether SMS text message MFA is enabled.
enabled - Specifies whether SMS text message MFA is enabled.public Boolean isEnabled()
Specifies whether SMS text message MFA is enabled.
public void setPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
preferredMfa - Specifies whether SMS is the preferred MFA method.public Boolean getPreferredMfa()
Specifies whether SMS is the preferred MFA method.
public SMSMfaSettingsType withPreferredMfa(Boolean preferredMfa)
Specifies whether SMS is the preferred MFA method.
preferredMfa - Specifies whether SMS is the preferred MFA method.public Boolean isPreferredMfa()
Specifies whether SMS is the preferred MFA method.
public String toString()
toString in class ObjectObject.toString()public SMSMfaSettingsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.