@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAppSyncGraphQlApiUserPoolConfigDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the authorization configuration for using Amazon Cognito user pools with your AppSync GraphQL API endpoint.
Constructor and Description |
---|
AwsAppSyncGraphQlApiUserPoolConfigDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAppSyncGraphQlApiUserPoolConfigDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAppIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pools app client ID.
|
String |
getAwsRegion()
The Amazon Web Services 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 pools
authentication doesn't match the Amazon Cognito user pools 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 pools app client ID.
|
void |
setAwsRegion(String awsRegion)
The Amazon Web Services 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 pools
authentication doesn't match the Amazon Cognito user pools configuration.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object.
|
AwsAppSyncGraphQlApiUserPoolConfigDetails |
withAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pools app client ID.
|
AwsAppSyncGraphQlApiUserPoolConfigDetails |
withAwsRegion(String awsRegion)
The Amazon Web Services Region in which the user pool was created.
|
AwsAppSyncGraphQlApiUserPoolConfigDetails |
withDefaultAction(String defaultAction)
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools
authentication doesn't match the Amazon Cognito user pools configuration.
|
AwsAppSyncGraphQlApiUserPoolConfigDetails |
withUserPoolId(String userPoolId)
The user pool ID.
|
public AwsAppSyncGraphQlApiUserPoolConfigDetails()
public void setAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value isn't set, no filtering is applied.
appIdClientRegex
- A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value
isn't set, no filtering is applied.public String getAppIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value isn't set, no filtering is applied.
public AwsAppSyncGraphQlApiUserPoolConfigDetails withAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value isn't set, no filtering is applied.
appIdClientRegex
- A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value
isn't set, no filtering is applied.public void setAwsRegion(String awsRegion)
The Amazon Web Services Region in which the user pool was created.
awsRegion
- The Amazon Web Services Region in which the user pool was created.public String getAwsRegion()
The Amazon Web Services Region in which the user pool was created.
public AwsAppSyncGraphQlApiUserPoolConfigDetails withAwsRegion(String awsRegion)
The Amazon Web Services Region in which the user pool was created.
awsRegion
- The Amazon Web Services 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 pools authentication doesn't match the Amazon Cognito user pools configuration.
defaultAction
- The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools
authentication doesn't match the Amazon Cognito user pools configuration.public String getDefaultAction()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools authentication doesn't match the Amazon Cognito user pools configuration.
public AwsAppSyncGraphQlApiUserPoolConfigDetails withDefaultAction(String defaultAction)
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools authentication doesn't match the Amazon Cognito user pools configuration.
defaultAction
- The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools
authentication doesn't match the Amazon Cognito user pools configuration.public void setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public AwsAppSyncGraphQlApiUserPoolConfigDetails withUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String toString()
toString
in class Object
Object.toString()
public AwsAppSyncGraphQlApiUserPoolConfigDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.