@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetUserPoolMfaConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SetUserPoolMfaConfigResult() |
Modifier and Type | Method and Description |
---|---|
SetUserPoolMfaConfigResult |
clone() |
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 |
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
smsMfaConfiguration
- The SMS text message MFA configuration.public SmsMfaConfigType getSmsMfaConfiguration()
The SMS text message MFA configuration.
public SetUserPoolMfaConfigResult withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
smsMfaConfiguration
- The SMS text message MFA configuration.public void setSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
softwareTokenMfaConfiguration
- The software token MFA configuration.public SoftwareTokenMfaConfigType getSoftwareTokenMfaConfiguration()
The software token MFA configuration.
public SetUserPoolMfaConfigResult withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
softwareTokenMfaConfiguration
- The software token MFA configuration.public void setMfaConfiguration(String mfaConfiguration)
The 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 enabled.
mfaConfiguration
- The 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 enabled.
UserPoolMfaType
public String getMfaConfiguration()
The 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 enabled.
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 enabled.
UserPoolMfaType
public SetUserPoolMfaConfigResult withMfaConfiguration(String mfaConfiguration)
The 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 enabled.
mfaConfiguration
- The 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 enabled.
UserPoolMfaType
public SetUserPoolMfaConfigResult withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The 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 enabled.
mfaConfiguration
- The 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 enabled.
UserPoolMfaType
public String toString()
toString
in class Object
Object.toString()
public SetUserPoolMfaConfigResult clone()