@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserPoolConfig.Builder> |
serializableBuilderClass() |
UserPoolConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userPoolId()
The user pool ID.
|
copy
public 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()
.
DefaultAction
public 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()
.
DefaultAction
public String appIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
public UserPoolConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>
public static UserPoolConfig.Builder builder()
public static Class<? extends UserPoolConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.