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