@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 username case sensitivity will be applied for all users in the user pool through 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 username case sensitivity will be applied for all users in the user pool through Cognito APIs.
Valid values include:
True : 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. For example,
“UserName”. This is the default value.
False : Enables case insensitivity for all username input. For example, when this option is
set to False, users will be able to sign in using either "username" or "Username". This option also
enables both preferred_username and email alias to be case insensitive, in addition to
the username attribute.
Valid values include:
True : 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. For
example, “UserName”. This is the default value.
False : Enables case insensitivity for all username input. For example, when this
option is set to False, users will be able to sign in using either "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 © 2021. All rights reserved.