@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 AWS 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 String userPoolId()
The user pool ID.
public String awsRegion()
The AWS Region in which the user pool was created.
public 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 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 String appIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
public UserPoolConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>public static UserPoolConfig.Builder builder()
public static Class<? extends UserPoolConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.