Class CreateUserPoolRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cognitoidp.model.CreateUserPoolRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateUserPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to create a user pool.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateUserPoolRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateUserPoolRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getAliasAttributes()Attributes supported as an alias for this user pool.List<String>getAutoVerifiedAttributes()The attributes to be auto-verified.StringgetEmailVerificationMessage()A string representing the email verification message.StringgetEmailVerificationSubject()A string representing the email verification subject.LambdaConfigTypegetLambdaConfig()The Lambda trigger configuration information for the new user pool.StringgetMfaConfiguration()Specifies MFA configuration details.UserPoolPolicyTypegetPolicies()The policies associated with the new user pool.StringgetPoolName()A string used to name the user pool.StringgetSmsAuthenticationMessage()A string representing the SMS authentication message.StringgetSmsVerificationMessage()A string representing the SMS verification message.inthashCode()voidsetAliasAttributes(Collection<String> aliasAttributes)Attributes supported as an alias for this user pool.voidsetAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)The attributes to be auto-verified.voidsetEmailVerificationMessage(String emailVerificationMessage)A string representing the email verification message.voidsetEmailVerificationSubject(String emailVerificationSubject)A string representing the email verification subject.voidsetLambdaConfig(LambdaConfigType lambdaConfig)The Lambda trigger configuration information for the new user pool.voidsetMfaConfiguration(UserPoolMfaType mfaConfiguration)Specifies MFA configuration details.voidsetMfaConfiguration(String mfaConfiguration)Specifies MFA configuration details.voidsetPolicies(UserPoolPolicyType policies)The policies associated with the new user pool.voidsetPoolName(String poolName)A string used to name the user pool.voidsetSmsAuthenticationMessage(String smsAuthenticationMessage)A string representing the SMS authentication message.voidsetSmsVerificationMessage(String smsVerificationMessage)A string representing the SMS verification message.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateUserPoolRequestwithAliasAttributes(AliasAttributeType... aliasAttributes)Attributes supported as an alias for this user pool.CreateUserPoolRequestwithAliasAttributes(String... aliasAttributes)Attributes supported as an alias for this user pool.CreateUserPoolRequestwithAliasAttributes(Collection<String> aliasAttributes)Attributes supported as an alias for this user pool.CreateUserPoolRequestwithAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)The attributes to be auto-verified.CreateUserPoolRequestwithAutoVerifiedAttributes(String... autoVerifiedAttributes)The attributes to be auto-verified.CreateUserPoolRequestwithAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)The attributes to be auto-verified.CreateUserPoolRequestwithEmailVerificationMessage(String emailVerificationMessage)A string representing the email verification message.CreateUserPoolRequestwithEmailVerificationSubject(String emailVerificationSubject)A string representing the email verification subject.CreateUserPoolRequestwithLambdaConfig(LambdaConfigType lambdaConfig)The Lambda trigger configuration information for the new user pool.CreateUserPoolRequestwithMfaConfiguration(UserPoolMfaType mfaConfiguration)Specifies MFA configuration details.CreateUserPoolRequestwithMfaConfiguration(String mfaConfiguration)Specifies MFA configuration details.CreateUserPoolRequestwithPolicies(UserPoolPolicyType policies)The policies associated with the new user pool.CreateUserPoolRequestwithPoolName(String poolName)A string used to name the user pool.CreateUserPoolRequestwithSmsAuthenticationMessage(String smsAuthenticationMessage)A string representing the SMS authentication message.CreateUserPoolRequestwithSmsVerificationMessage(String smsVerificationMessage)A string representing the SMS verification message.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setPoolName
public void setPoolName(String poolName)
A string used to name the user pool.
- Parameters:
poolName- A string used to name the user pool.
-
getPoolName
public String getPoolName()
A string used to name the user pool.
- Returns:
- A string used to name the user pool.
-
withPoolName
public CreateUserPoolRequest withPoolName(String poolName)
A string used to name the user pool.
- Parameters:
poolName- A string used to name the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicies
public void setPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
- Parameters:
policies- The policies associated with the new user pool.
-
getPolicies
public UserPoolPolicyType getPolicies()
The policies associated with the new user pool.
- Returns:
- The policies associated with the new user pool.
-
withPolicies
public CreateUserPoolRequest withPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
- Parameters:
policies- The policies associated with the new user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLambdaConfig
public void setLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
- Parameters:
lambdaConfig- The Lambda trigger configuration information for the new user pool.
-
getLambdaConfig
public LambdaConfigType getLambdaConfig()
The Lambda trigger configuration information for the new user pool.
- Returns:
- The Lambda trigger configuration information for the new user pool.
-
withLambdaConfig
public CreateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
- Parameters:
lambdaConfig- The Lambda trigger configuration information for the new user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAutoVerifiedAttributes
public List<String> getAutoVerifiedAttributes()
The attributes to be auto-verified. Possible values: email, phone_number.
- Returns:
- The attributes to be auto-verified. Possible values: email, phone_number.
- See Also:
VerifiedAttributeType
-
setAutoVerifiedAttributes
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
- Parameters:
autoVerifiedAttributes- The attributes to be auto-verified. Possible values: email, phone_number.- See Also:
VerifiedAttributeType
-
withAutoVerifiedAttributes
public CreateUserPoolRequest withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
NOTE: This method appends the values to the existing list (if any). Use
setAutoVerifiedAttributes(java.util.Collection)orwithAutoVerifiedAttributes(java.util.Collection)if you want to override the existing values.- Parameters:
autoVerifiedAttributes- The attributes to be auto-verified. Possible values: email, phone_number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerifiedAttributeType
-
withAutoVerifiedAttributes
public CreateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
- Parameters:
autoVerifiedAttributes- The attributes to be auto-verified. Possible values: email, phone_number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerifiedAttributeType
-
withAutoVerifiedAttributes
public CreateUserPoolRequest withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
- Parameters:
autoVerifiedAttributes- The attributes to be auto-verified. Possible values: email, phone_number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerifiedAttributeType
-
getAliasAttributes
public List<String> getAliasAttributes()
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
- Returns:
- Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
- See Also:
AliasAttributeType
-
setAliasAttributes
public void setAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
- Parameters:
aliasAttributes- Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.- See Also:
AliasAttributeType
-
withAliasAttributes
public CreateUserPoolRequest withAliasAttributes(String... aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
NOTE: This method appends the values to the existing list (if any). Use
setAliasAttributes(java.util.Collection)orwithAliasAttributes(java.util.Collection)if you want to override the existing values.- Parameters:
aliasAttributes- Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AliasAttributeType
-
withAliasAttributes
public CreateUserPoolRequest withAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
- Parameters:
aliasAttributes- Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AliasAttributeType
-
withAliasAttributes
public CreateUserPoolRequest withAliasAttributes(AliasAttributeType... aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
- Parameters:
aliasAttributes- Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AliasAttributeType
-
setSmsVerificationMessage
public void setSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
- Parameters:
smsVerificationMessage- A string representing the SMS verification message.
-
getSmsVerificationMessage
public String getSmsVerificationMessage()
A string representing the SMS verification message.
- Returns:
- A string representing the SMS verification message.
-
withSmsVerificationMessage
public CreateUserPoolRequest withSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
- Parameters:
smsVerificationMessage- A string representing the SMS verification message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEmailVerificationMessage
public void setEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
- Parameters:
emailVerificationMessage- A string representing the email verification message.
-
getEmailVerificationMessage
public String getEmailVerificationMessage()
A string representing the email verification message.
- Returns:
- A string representing the email verification message.
-
withEmailVerificationMessage
public CreateUserPoolRequest withEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
- Parameters:
emailVerificationMessage- A string representing the email verification message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEmailVerificationSubject
public void setEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
- Parameters:
emailVerificationSubject- A string representing the email verification subject.
-
getEmailVerificationSubject
public String getEmailVerificationSubject()
A string representing the email verification subject.
- Returns:
- A string representing the email verification subject.
-
withEmailVerificationSubject
public CreateUserPoolRequest withEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
- Parameters:
emailVerificationSubject- A string representing the email verification subject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSmsAuthenticationMessage
public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
- Parameters:
smsAuthenticationMessage- A string representing the SMS authentication message.
-
getSmsAuthenticationMessage
public String getSmsAuthenticationMessage()
A string representing the SMS authentication message.
- Returns:
- A string representing the SMS authentication message.
-
withSmsAuthenticationMessage
public CreateUserPoolRequest withSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
- Parameters:
smsAuthenticationMessage- A string representing the SMS authentication message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMfaConfiguration
public void setMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
- Parameters:
mfaConfiguration- Specifies MFA configuration details.- See Also:
UserPoolMfaType
-
getMfaConfiguration
public String getMfaConfiguration()
Specifies MFA configuration details.
- Returns:
- Specifies MFA configuration details.
- See Also:
UserPoolMfaType
-
withMfaConfiguration
public CreateUserPoolRequest withMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
- Parameters:
mfaConfiguration- Specifies MFA configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserPoolMfaType
-
setMfaConfiguration
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
- Parameters:
mfaConfiguration- Specifies MFA configuration details.- See Also:
UserPoolMfaType
-
withMfaConfiguration
public CreateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
- Parameters:
mfaConfiguration- Specifies MFA configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserPoolMfaType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateUserPoolRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-