public class SetUserPoolMfaConfigResult extends Object implements Serializable
| Constructor and Description |
|---|
SetUserPoolMfaConfigResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMfaConfiguration()
The MFA configuration.
|
SmsMfaConfigType |
getSmsMfaConfiguration()
The SMS text message MFA configuration.
|
SoftwareTokenMfaConfigType |
getSoftwareTokenMfaConfiguration()
The software token MFA configuration.
|
int |
hashCode() |
void |
setMfaConfiguration(String mfaConfiguration)
The MFA configuration.
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
|
void |
setSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
|
void |
setSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetUserPoolMfaConfigResult |
withMfaConfiguration(String mfaConfiguration)
The MFA configuration.
|
SetUserPoolMfaConfigResult |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
|
SetUserPoolMfaConfigResult |
withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
|
SetUserPoolMfaConfigResult |
withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
|
public SmsMfaConfigType getSmsMfaConfiguration()
The SMS text message MFA configuration.
The SMS text message MFA configuration.
public void setSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
smsMfaConfiguration - The SMS text message MFA configuration.
public SetUserPoolMfaConfigResult withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
Returns a reference to this object so that method calls can be chained together.
smsMfaConfiguration - The SMS text message MFA configuration.
public SoftwareTokenMfaConfigType getSoftwareTokenMfaConfiguration()
The software token MFA configuration.
The software token MFA configuration.
public void setSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
softwareTokenMfaConfiguration - The software token MFA configuration.
public SetUserPoolMfaConfigResult withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
Returns a reference to this object so that method calls can be chained together.
softwareTokenMfaConfiguration - The software token MFA configuration.
public String getMfaConfiguration()
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
The MFA configuration.
UserPoolMfaTypepublic void setMfaConfiguration(String mfaConfiguration)
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic SetUserPoolMfaConfigResult withMfaConfiguration(String mfaConfiguration)
The MFA configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic SetUserPoolMfaConfigResult withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.