@Generated(value="software.amazon.awssdk:codegen") public final class SetUserSettingsRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<SetUserSettingsRequest.Builder,SetUserSettingsRequest>
Represents the request to set user settings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetUserSettingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The access token for the set user settings request.
|
static SetUserSettingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMfaOptions()
Returns true if the MFAOptions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<MFAOptionType> |
mfaOptions()
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetUserSettingsRequest.Builder> |
serializableBuilderClass() |
SetUserSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
The access token for the set user settings request.
public final boolean hasMfaOptions()
public final List<MFAOptionType> mfaOptions()
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMfaOptions() to see if a value was sent in this field.
public SetUserSettingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetUserSettingsRequest.Builder,SetUserSettingsRequest>toBuilder in class CognitoIdentityProviderRequestpublic static SetUserSettingsRequest.Builder builder()
public static Class<? extends SetUserSettingsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.