@Generated(value="software.amazon.awssdk:codegen") public class UserPoolConfig extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>public static UserPoolConfig.Builder builder()
public static Class<? extends UserPoolConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.