public class SetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable
This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use the SetUserMFAPreference action instead.
| 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()
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token for the set user settings request.
|
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
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)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
SetUserSettingsRequest |
withMFAOptions(MFAOptionType... mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
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()
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public void setMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public SetUserSettingsRequest withMFAOptions(MFAOptionType... mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public SetUserSettingsRequest withMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.