@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminSetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to set user settings as an administrator.
NOOP
Constructor and Description |
---|
AdminSetUserSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
AdminSetUserSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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 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 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(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(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 String getUsername()
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.
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).
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).
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(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 String toString()
toString
in class Object
Object.toString()
public AdminSetUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.