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() |
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).
|
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
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()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.