@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetUserPoolMfaConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetUserPoolMfaConfigRequest() |
Modifier and Type | Method and Description |
---|---|
SetUserPoolMfaConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 |
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public SetUserPoolMfaConfigRequest withUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.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 SetUserPoolMfaConfigRequest 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 SetUserPoolMfaConfigRequest withSoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
softwareTokenMfaConfiguration
- The software token MFA configuration.public void setMfaConfiguration(String mfaConfiguration)
The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. 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 MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA
factor can sign in. To learn more, see Adding
Multi-Factor Authentication (MFA) to a user pool. 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 MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. 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 SetUserPoolMfaConfigRequest withMfaConfiguration(String mfaConfiguration)
The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. 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 MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA
factor can sign in. To learn more, see Adding
Multi-Factor Authentication (MFA) to a user pool. 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 SetUserPoolMfaConfigRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. 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 MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA
factor can sign in. To learn more, see Adding
Multi-Factor Authentication (MFA) to a user pool. 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 SetUserPoolMfaConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()