public class GetUserPoolMfaConfigResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetUserPoolMfaConfigResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMfaConfiguration()
The multi-factor authentication (MFA) configuration.
|
SmsMfaConfigType |
getSmsMfaConfiguration()
The SMS text message multi-factor authentication (MFA) configuration.
|
SoftwareTokenMfaConfigType |
getSoftwareTokenMfaConfiguration()
The software token multi-factor authentication (MFA) configuration.
|
int |
hashCode() |
void |
setMfaConfiguration(java.lang.String mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
void |
setSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
|
void |
setSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUserPoolMfaConfigResult |
withMfaConfiguration(java.lang.String mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResult |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResult |
withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResult |
withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
|
public SmsMfaConfigType getSmsMfaConfiguration()
The SMS text message multi-factor authentication (MFA) configuration.
The SMS text message multi-factor authentication (MFA) configuration.
public void setSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
smsMfaConfiguration - The SMS text message multi-factor authentication (MFA) configuration.
public GetUserPoolMfaConfigResult withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
Returns a reference to this object so that method calls can be chained together.
smsMfaConfiguration - The SMS text message multi-factor authentication (MFA) configuration.
public SoftwareTokenMfaConfigType getSoftwareTokenMfaConfiguration()
The software token multi-factor authentication (MFA) configuration.
The software token multi-factor authentication (MFA) configuration.
public void setSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
softwareTokenMfaConfiguration - The software token multi-factor authentication (MFA) configuration.
public GetUserPoolMfaConfigResult withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
Returns a reference to this object so that method calls can be chained together.
softwareTokenMfaConfiguration - The software token multi-factor authentication (MFA) configuration.
public java.lang.String getMfaConfiguration()
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
UserPoolMfaTypepublic void setMfaConfiguration(java.lang.String mfaConfiguration)
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
UserPoolMfaTypepublic GetUserPoolMfaConfigResult withMfaConfiguration(java.lang.String mfaConfiguration)
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
UserPoolMfaTypepublic void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
UserPoolMfaTypepublic GetUserPoolMfaConfigResult withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The multi-factor authentication (MFA) configuration. Valid values include:
OFF MFA won't 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 activated.
UserPoolMfaTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object