@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserPoolConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon Cognito user pool configuration.
Constructor and Description |
---|
UserPoolConfig() |
Modifier and Type | Method and Description |
---|---|
UserPoolConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAppIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
String |
getAwsRegion()
The AWS Region in which the user pool was created.
|
String |
getDefaultAction()
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 |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
void |
setAwsRegion(String awsRegion)
The AWS Region in which the user pool was created.
|
void |
setDefaultAction(String 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.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object.
|
UserPoolConfig |
withAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
UserPoolConfig |
withAwsRegion(String awsRegion)
The AWS Region in which the user pool was created.
|
UserPoolConfig |
withDefaultAction(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.
|
UserPoolConfig |
withDefaultAction(String 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.
|
UserPoolConfig |
withUserPoolId(String userPoolId)
The user pool ID.
|
public void setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public UserPoolConfig withUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public void setAwsRegion(String awsRegion)
The AWS Region in which the user pool was created.
awsRegion
- The AWS Region in which the user pool was created.public String getAwsRegion()
The AWS Region in which the user pool was created.
public UserPoolConfig withAwsRegion(String awsRegion)
The AWS Region in which the user pool was created.
awsRegion
- The AWS Region in which the user pool was created.public void setDefaultAction(String 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.
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.DefaultAction
public String getDefaultAction()
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.
DefaultAction
public UserPoolConfig withDefaultAction(String 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.
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.DefaultAction
public UserPoolConfig withDefaultAction(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.
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.DefaultAction
public void setAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
appIdClientRegex
- A regular expression for validating the incoming Amazon Cognito user pool app client ID.public String getAppIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
public UserPoolConfig withAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
appIdClientRegex
- A regular expression for validating the incoming Amazon Cognito user pool app client ID.public String toString()
toString
in class Object
Object.toString()
public UserPoolConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.