@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to set user settings.
NOOP
Constructor and Description |
---|
SetUserSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
SetUserSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token for the set user settings request.
|
List<MFAOptionType> |
getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token for the set user settings request.
|
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetUserSettingsRequest |
withAccessToken(String accessToken)
The access token for the set user settings request.
|
SetUserSettingsRequest |
withMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
SetUserSettingsRequest |
withMFAOptions(MFAOptionType... mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
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 setAccessToken(String accessToken)
The access token for the set user settings request.
accessToken
- The access token for the set user settings request.public String getAccessToken()
The access token for the set user settings request.
public SetUserSettingsRequest withAccessToken(String accessToken)
The access token for the set user settings request.
accessToken
- The access token for the set user settings request.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 SetUserSettingsRequest 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 SetUserSettingsRequest 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 SetUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.