public class AdminSetUserSettingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to set user settings as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.util.List<MFAOptionType> |
mFAOptions
Specifies the options for MFA (e.g., email or phone number).
|
private java.lang.String |
username
The user name of the user for whom you wish to set user settings.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
NOOP
Constructor and Description |
---|
AdminSetUserSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
AdminSetUserSettingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<MFAOptionType> |
getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
|
java.lang.String |
getUsername()
The user name of the user for whom you wish to set user settings.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
int |
hashCode() |
void |
setMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
void |
setUsername(java.lang.String username)
The user name of the user for whom you wish to set user settings.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminSetUserSettingsRequest |
withMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminSetUserSettingsRequest |
withMFAOptions(MFAOptionType... mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminSetUserSettingsRequest |
withUsername(java.lang.String username)
The user name of the user for whom you wish to set user settings.
|
AdminSetUserSettingsRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userPoolId
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
private java.lang.String username
The user name of the user for whom you wish to set user settings.
private java.util.List<MFAOptionType> mFAOptions
Specifies the options for MFA (e.g., email or phone number).
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
userPoolId
- The user pool ID for the user pool where you want to set the
user's settings, such as MFA options.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
public AdminSetUserSettingsRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
userPoolId
- The user pool ID for the user pool where you want to set the
user's settings, such as MFA options.public void setUsername(java.lang.String username)
The user name of the user for whom you wish to set user settings.
username
- The user name of the user for whom you wish to set user settings.public java.lang.String getUsername()
The user name of the user for whom you wish to set user settings.
public AdminSetUserSettingsRequest withUsername(java.lang.String username)
The user name of the user for whom you wish to set user settings.
username
- The user name of the user for whom you wish to set user settings.public java.util.List<MFAOptionType> getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
public void setMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).public AdminSetUserSettingsRequest withMFAOptions(MFAOptionType... mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
NOTE: This method appends the values to the existing list (if
any). Use setMFAOptions(java.util.Collection)
or
withMFAOptions(java.util.Collection)
if you want to override the
existing values.
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).public AdminSetUserSettingsRequest withMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AdminSetUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()