@Generated(value="software.amazon.awssdk:codegen") public final class UsernameConfigurationType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsernameConfigurationType.Builder,UsernameConfigurationType>
The username configuration type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsernameConfigurationType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsernameConfigurationType.Builder |
builder() |
Boolean |
caseSensitive()
Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon
Cognito APIs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsernameConfigurationType.Builder> |
serializableBuilderClass() |
UsernameConfigurationType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean caseSensitive()
Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon
Cognito APIs. For most use cases, set case sensitivity to False (case insensitive) as a best
practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they
enter a different capitalization of their user name.
Valid values include:
Enables case sensitivity for all username input. When this option is set to True, users must sign in
using the exact capitalization of their given username, such as “UserName”. This is the default value.
Enables case insensitivity for all username input. For example, when this option is set to False,
users can sign in using username, USERNAME, or UserName. This option also
enables both preferred_username and email alias to be case insensitive, in addition to
the username attribute.
False (case insensitive) as
a best practice. When usernames and email addresses are case insensitive, users can sign in as the same
user when they enter a different capitalization of their user name.
Valid values include:
Enables case sensitivity for all username input. When this option is set to True, users must
sign in using the exact capitalization of their given username, such as “UserName”. This is the default
value.
Enables case insensitivity for all username input. For example, when this option is set to
False, users can sign in using username, USERNAME, or
UserName. This option also enables both preferred_username and
email alias to be case insensitive, in addition to the username attribute.
public UsernameConfigurationType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsernameConfigurationType.Builder,UsernameConfigurationType>public static UsernameConfigurationType.Builder builder()
public static Class<? extends UsernameConfigurationType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.