public class SetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable
Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.
| Constructor and Description |
|---|
SetUserSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
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).
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAccessToken()
The access token for the set user settings request.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token for the set user settings request.
public void setAccessToken(String accessToken)
The access token for the set user settings request.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access token for the set user settings request.
public SetUserSettingsRequest withAccessToken(String accessToken)
The access token for the set user settings request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
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).
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).
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 SetUserSettingsRequest 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.