@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUserPoolMfaConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetUserPoolMfaConfigResult() |
Modifier and Type | Method and Description |
---|---|
GetUserPoolMfaConfigResult |
clone() |
boolean |
equals(Object obj) |
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(String 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.
|
String |
toString()
Returns a string representation of this object.
|
GetUserPoolMfaConfigResult |
withMfaConfiguration(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 SmsMfaConfigType getSmsMfaConfiguration()
The SMS text message multi-factor authentication (MFA) configuration.
public GetUserPoolMfaConfigResult withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
smsMfaConfiguration
- The SMS text message 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 SoftwareTokenMfaConfigType getSoftwareTokenMfaConfiguration()
The software token multi-factor authentication (MFA) configuration.
public GetUserPoolMfaConfigResult withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
softwareTokenMfaConfiguration
- The software token multi-factor authentication (MFA) configuration.public void setMfaConfiguration(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.
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.
UserPoolMfaType
public 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.
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.
UserPoolMfaType
public GetUserPoolMfaConfigResult withMfaConfiguration(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.
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.
UserPoolMfaType
public 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.
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.
UserPoolMfaType
public String toString()
toString
in class Object
Object.toString()
public GetUserPoolMfaConfigResult clone()