@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoUserPoolConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon Cognito user pool configuration.
Constructor and Description |
---|
CognitoUserPoolConfig() |
Modifier and Type | Method and Description |
---|---|
CognitoUserPoolConfig |
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 |
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 |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object.
|
CognitoUserPoolConfig |
withAppIdClientRegex(String appIdClientRegex)
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
CognitoUserPoolConfig |
withAwsRegion(String awsRegion)
The AWS Region in which the user pool was created.
|
CognitoUserPoolConfig |
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 CognitoUserPoolConfig 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 CognitoUserPoolConfig 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 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 CognitoUserPoolConfig 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 CognitoUserPoolConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.