public class SetUserSettingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to set user settings.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accessToken
The access token for the set user settings request.
|
private java.util.List<MFAOptionType> |
mFAOptions
Specifies the options for MFA (e.g., email or phone number).
|
NOOP
Constructor and Description |
---|
SetUserSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
SetUserSettingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessToken()
The access token for the set user settings request.
|
java.util.List<MFAOptionType> |
getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
|
int |
hashCode() |
void |
setAccessToken(java.lang.String accessToken)
The access token for the set user settings request.
|
void |
setMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetUserSettingsRequest |
withAccessToken(java.lang.String accessToken)
The access token for the set user settings request.
|
SetUserSettingsRequest |
withMFAOptions(java.util.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
private java.lang.String accessToken
The access token for the set user settings request.
private java.util.List<MFAOptionType> mFAOptions
Specifies the options for MFA (e.g., email or phone number).
public void setAccessToken(java.lang.String accessToken)
The access token for the set user settings request.
accessToken
- The access token for the set user settings request.public java.lang.String getAccessToken()
The access token for the set user settings request.
public SetUserSettingsRequest withAccessToken(java.lang.String accessToken)
The access token for the set user settings request.
accessToken
- The access token for the set user settings request.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 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(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 SetUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()