@Generated(value="software.amazon.awssdk:codegen") public final class UserPoolConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>
Describes an Amazon Cognito user pool configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserPoolConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
String |
awsRegion()
The Amazon Web Services Region in which the user pool was created.
|
static UserPoolConfig.Builder |
builder() |
DefaultAction |
defaultAction()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool
authentication doesn't match the Amazon Cognito user pool configuration.
|
String |
defaultActionAsString()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool
authentication doesn't match the Amazon Cognito user pool configuration.
|
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 UserPoolConfig.Builder> |
serializableBuilderClass() |
UserPoolConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolId()
The user pool ID.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userPoolId()
The user pool ID.
public final String awsRegion()
The Amazon Web Services Region in which the user pool was created.
public final DefaultAction defaultAction()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
If the service returns an enum value that is not available in the current SDK version, defaultAction
will return DefaultAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultActionAsString().
DefaultActionpublic final String defaultActionAsString()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
If the service returns an enum value that is not available in the current SDK version, defaultAction
will return DefaultAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
defaultActionAsString().
DefaultActionpublic final String appIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.
public UserPoolConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>public static UserPoolConfig.Builder builder()
public static Class<? extends UserPoolConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.