public class AdminSetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable
Sets all the user settings for a specified user name. Works on any user.
Requires developer credentials.
| Constructor and Description |
|---|
AdminSetUserSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<MFAOptionType> |
getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
|
String |
getUsername()
The user name of the user for whom you wish to set user settings.
|
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(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
void |
setUsername(String username)
The user name of the user for whom you wish to set user settings.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminSetUserSettingsRequest |
withMFAOptions(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(String username)
The user name of the user for whom you wish to set user settings.
|
AdminSetUserSettingsRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to set the user's
settings, such as MFA options.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
public AdminSetUserSettingsRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
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 for the user pool where you want to set the user's settings, such as MFA options.
public String getUsername()
The user name of the user for whom you wish to set user settings.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user for whom you wish to set user settings.
public void setUsername(String username)
The user name of the user for whom you wish to set user settings.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user for whom you wish to set user settings.
public AdminSetUserSettingsRequest withUsername(String username)
The user name of the user for whom you wish to set user settings.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user for whom you wish to set user settings.
public List<MFAOptionType> getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
Specifies the options for MFA (e.g., email or phone number).
public void setMFAOptions(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).
Returns a reference to this object so that method calls can be chained together.
mFAOptions - Specifies the options for MFA (e.g., email or phone number).
public AdminSetUserSettingsRequest withMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
Returns a reference to this object so that method calls can be chained together.
mFAOptions - Specifies the options for MFA (e.g., email or phone number).
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.