@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()
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
|
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)
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
|
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.
|
SetUserSettingsRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
|
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.
|
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, withSdkRequestTimeoutpublic void setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
accessToken - A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
public SetUserSettingsRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
accessToken - A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.public List<MFAOptionType> getMFAOptions()
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.
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 - 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.
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()public SetUserSettingsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()