public class CreateUserPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to create a user pool.
NOOP
Constructor and Description |
---|
CreateUserPoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserPoolRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAliasAttributes()
Attributes supported as an alias for this user pool.
|
List<String> |
getAutoVerifiedAttributes()
The attributes to be auto-verified.
|
String |
getEmailVerificationMessage()
A string representing the email verification message.
|
String |
getEmailVerificationSubject()
A string representing the email verification subject.
|
LambdaConfigType |
getLambdaConfig()
The Lambda trigger configuration information for the new user pool.
|
String |
getMfaConfiguration()
Specifies MFA configuration details.
|
UserPoolPolicyType |
getPolicies()
The policies associated with the new user pool.
|
String |
getPoolName()
A string used to name the user pool.
|
String |
getSmsAuthenticationMessage()
A string representing the SMS authentication message.
|
String |
getSmsVerificationMessage()
A string representing the SMS verification message.
|
int |
hashCode() |
void |
setAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool.
|
void |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified.
|
void |
setEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
|
void |
setEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
|
void |
setLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
|
void |
setMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
|
void |
setPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
|
void |
setPoolName(String poolName)
A string used to name the user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
|
void |
setSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserPoolRequest |
withAliasAttributes(AliasAttributeType... aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAliasAttributes(String... aliasAttributes)
Attributes supported as an alias for this user pool.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes to be auto-verified.
|
CreateUserPoolRequest |
withEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
|
CreateUserPoolRequest |
withEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
|
CreateUserPoolRequest |
withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
|
CreateUserPoolRequest |
withMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
|
CreateUserPoolRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
|
CreateUserPoolRequest |
withPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
|
CreateUserPoolRequest |
withPoolName(String poolName)
A string used to name the user pool.
|
CreateUserPoolRequest |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
|
CreateUserPoolRequest |
withSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
|
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
public void setPoolName(String poolName)
A string used to name the user pool.
poolName
- A string used to name the user pool.public String getPoolName()
A string used to name the user pool.
public CreateUserPoolRequest withPoolName(String poolName)
A string used to name the user pool.
poolName
- A string used to name the user pool.public void setPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
policies
- The policies associated with the new user pool.public UserPoolPolicyType getPolicies()
The policies associated with the new user pool.
public CreateUserPoolRequest withPolicies(UserPoolPolicyType policies)
The policies associated with the new user pool.
policies
- The policies associated with the new user pool.public void setLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
lambdaConfig
- The Lambda trigger configuration information for the new user
pool.public LambdaConfigType getLambdaConfig()
The Lambda trigger configuration information for the new user pool.
public CreateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The Lambda trigger configuration information for the new user pool.
lambdaConfig
- The Lambda trigger configuration information for the new user
pool.public List<String> getAutoVerifiedAttributes()
The attributes to be auto-verified. Possible values: email, phone_number.
VerifiedAttributeType
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email,
phone_number.VerifiedAttributeType
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)
or
withAutoVerifiedAttributes(java.util.Collection)
if you want to
override the existing values.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email,
phone_number.VerifiedAttributeType
public CreateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email,
phone_number.VerifiedAttributeType
public CreateUserPoolRequest withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes to be auto-verified. Possible values: email, phone_number.
autoVerifiedAttributes
- The attributes to be auto-verified. Possible values: email,
phone_number.VerifiedAttributeType
public List<String> getAliasAttributes()
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
AliasAttributeType
public void setAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible
values: phone_number, email, or
preferred_username.AliasAttributeType
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)
or
withAliasAttributes(java.util.Collection)
if you want to
override the existing values.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible
values: phone_number, email, or
preferred_username.AliasAttributeType
public CreateUserPoolRequest withAliasAttributes(Collection<String> aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible
values: phone_number, email, or
preferred_username.AliasAttributeType
public CreateUserPoolRequest withAliasAttributes(AliasAttributeType... aliasAttributes)
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
aliasAttributes
- Attributes supported as an alias for this user pool. Possible
values: phone_number, email, or
preferred_username.AliasAttributeType
public void setSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
smsVerificationMessage
- A string representing the SMS verification message.public String getSmsVerificationMessage()
A string representing the SMS verification message.
public CreateUserPoolRequest withSmsVerificationMessage(String smsVerificationMessage)
A string representing the SMS verification message.
smsVerificationMessage
- A string representing the SMS verification message.public void setEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
emailVerificationMessage
- A string representing the email verification message.public String getEmailVerificationMessage()
A string representing the email verification message.
public CreateUserPoolRequest withEmailVerificationMessage(String emailVerificationMessage)
A string representing the email verification message.
emailVerificationMessage
- A string representing the email verification message.public void setEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
emailVerificationSubject
- A string representing the email verification subject.public String getEmailVerificationSubject()
A string representing the email verification subject.
public CreateUserPoolRequest withEmailVerificationSubject(String emailVerificationSubject)
A string representing the email verification subject.
emailVerificationSubject
- A string representing the email verification subject.public void setSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
smsAuthenticationMessage
- A string representing the SMS authentication message.public String getSmsAuthenticationMessage()
A string representing the SMS authentication message.
public CreateUserPoolRequest withSmsAuthenticationMessage(String smsAuthenticationMessage)
A string representing the SMS authentication message.
smsAuthenticationMessage
- A string representing the SMS authentication message.public void setMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public String getMfaConfiguration()
Specifies MFA configuration details.
UserPoolMfaType
public CreateUserPoolRequest withMfaConfiguration(String mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public CreateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Specifies MFA configuration details.
mfaConfiguration
- Specifies MFA configuration details.UserPoolMfaType
public String toString()
toString
in class Object
Object.toString()
public CreateUserPoolRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.