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. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual users who
have an MFA factor enabled.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual
users who have an MFA factor enabled.
UserPoolMfaType
public void setMfaConfiguration(String mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual users who
have an MFA factor enabled.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration
- The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual
users who have an MFA factor enabled.
UserPoolMfaType
public SetUserPoolMfaConfigResult withMfaConfiguration(String mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual users who
have an MFA factor enabled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration
- The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual
users who have an MFA factor enabled.
UserPoolMfaType
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual users who
have an MFA factor enabled.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration
- The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual
users who have an MFA factor enabled.
UserPoolMfaType
public SetUserPoolMfaConfigResult withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual users who
have an MFA factor enabled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration
- The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.
ON
MFA is required for all users to sign in.
OPTIONAL
MFA will be required only for individual
users who have an MFA factor enabled.
UserPoolMfaType
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.