public class SetUserPoolMfaConfigRequest extends AmazonWebServiceRequest implements Serializable
Set the user pool 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, withRequestMetricCollectorpublic 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.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
The MFA configuration.
UserPoolMfaTypepublic void setMfaConfiguration(String mfaConfiguration)
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic SetUserPoolMfaConfigRequest withMfaConfiguration(String mfaConfiguration)
The MFA configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic SetUserPoolMfaConfigRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
mfaConfiguration - The MFA configuration.
UserPoolMfaTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.