public class SetUserPoolMfaConfigRequest extends AmazonWebServiceRequest implements Serializable
Set the user pool multi-factor authentication (MFA) configuration.
Constructor and Description |
---|
SetUserPoolMfaConfigRequest() |
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.
|
String |
getUserPoolId()
The user pool ID.
|
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.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetUserPoolMfaConfigRequest |
withMfaConfiguration(String mfaConfiguration)
The MFA configuration.
|
SetUserPoolMfaConfigRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
|
SetUserPoolMfaConfigRequest |
withSmsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
|
SetUserPoolMfaConfigRequest |
withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
|
SetUserPoolMfaConfigRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public SetUserPoolMfaConfigRequest withUserPoolId(String userPoolId)
The user pool ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
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 SetUserPoolMfaConfigRequest 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 SetUserPoolMfaConfigRequest 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 SetUserPoolMfaConfigRequest 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 SetUserPoolMfaConfigRequest 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.