@Generated(value="software.amazon.awssdk:codegen") public final class AdminSetUserSettingsRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<AdminSetUserSettingsRequest.Builder,AdminSetUserSettingsRequest>
Represents the request to set user settings as an administrator.
Modifier and Type | Class and Description |
---|---|
static interface |
AdminSetUserSettingsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static AdminSetUserSettingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<MFAOptionType> |
mfaOptions()
Specifies the options for MFA (e.g., email or phone number).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AdminSetUserSettingsRequest.Builder> |
serializableBuilderClass() |
AdminSetUserSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name of the user for whom you wish to set user settings.
|
String |
userPoolId()
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String userPoolId()
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
public String username()
The user name of the user for whom you wish to set user settings.
public List<MFAOptionType> mfaOptions()
Specifies the options for MFA (e.g., email or phone number).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AdminSetUserSettingsRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AdminSetUserSettingsRequest.Builder,AdminSetUserSettingsRequest>
toBuilder
in class CognitoIdentityProviderRequest
public static AdminSetUserSettingsRequest.Builder builder()
public static Class<? extends AdminSetUserSettingsRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.