@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserPoolRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<CreateUserPoolRequest.Builder,CreateUserPoolRequest>
Represents the request to create a user pool.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserPoolRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AdminCreateUserConfigType |
adminCreateUserConfig()
The configuration for
AdminCreateUser requests. |
List<AliasAttributeType> |
aliasAttributes()
Attributes supported as an alias for this user pool.
|
List<String> |
aliasAttributesAsStrings()
Attributes supported as an alias for this user pool.
|
List<VerifiedAttributeType> |
autoVerifiedAttributes()
The attributes to be auto-verified.
|
List<String> |
autoVerifiedAttributesAsStrings()
The attributes to be auto-verified.
|
static CreateUserPoolRequest.Builder |
builder() |
DeviceConfigurationType |
deviceConfiguration()
The device configuration.
|
EmailConfigurationType |
emailConfiguration()
The email configuration.
|
String |
emailVerificationMessage()
A string representing the email verification message.
|
String |
emailVerificationSubject()
A string representing the email verification subject.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LambdaConfigType |
lambdaConfig()
The Lambda trigger configuration information for the new user pool.
|
UserPoolMfaType |
mfaConfiguration()
Specifies MFA configuration details.
|
String |
mfaConfigurationAsString()
Specifies MFA configuration details.
|
UserPoolPolicyType |
policies()
The policies associated with the new user pool.
|
String |
poolName()
A string used to name the user pool.
|
List<SchemaAttributeType> |
schema()
An array of schema attributes for the new user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUserPoolRequest.Builder> |
serializableBuilderClass() |
String |
smsAuthenticationMessage()
A string representing the SMS authentication message.
|
SmsConfigurationType |
smsConfiguration()
The SMS configuration.
|
String |
smsVerificationMessage()
A string representing the SMS verification message.
|
CreateUserPoolRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<UsernameAttributeType> |
usernameAttributes()
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
|
List<String> |
usernameAttributesAsStrings()
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
|
UserPoolAddOnsType |
userPoolAddOns()
Used to enable advanced security risk detection.
|
Map<String,String> |
userPoolTags()
The tag keys and values to assign to the user pool.
|
VerificationMessageTemplateType |
verificationMessageTemplate()
The template for the verification message that the user sees when the app requests permission to access the
user's information.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String poolName()
A string used to name the user pool.
public UserPoolPolicyType policies()
The policies associated with the new user pool.
public LambdaConfigType lambdaConfig()
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI, see add-permission .
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI, see add-permission .
public List<VerifiedAttributeType> autoVerifiedAttributes()
The attributes to be auto-verified. Possible values: email, phone_number.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> autoVerifiedAttributesAsStrings()
The attributes to be auto-verified. Possible values: email, phone_number.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<AliasAttributeType> aliasAttributes()
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> aliasAttributesAsStrings()
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<UsernameAttributeType> usernameAttributes()
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> usernameAttributesAsStrings()
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String smsVerificationMessage()
A string representing the SMS verification message.
public String emailVerificationMessage()
A string representing the email verification message.
public String emailVerificationSubject()
A string representing the email verification subject.
public VerificationMessageTemplateType verificationMessageTemplate()
The template for the verification message that the user sees when the app requests permission to access the user's information.
public String smsAuthenticationMessage()
A string representing the SMS authentication message.
public UserPoolMfaType mfaConfiguration()
Specifies MFA configuration details.
If the service returns an enum value that is not available in the current SDK version, mfaConfiguration
will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mfaConfigurationAsString().
UserPoolMfaTypepublic String mfaConfigurationAsString()
Specifies MFA configuration details.
If the service returns an enum value that is not available in the current SDK version, mfaConfiguration
will return UserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mfaConfigurationAsString().
UserPoolMfaTypepublic DeviceConfigurationType deviceConfiguration()
The device configuration.
public EmailConfigurationType emailConfiguration()
The email configuration.
public SmsConfigurationType smsConfiguration()
The SMS configuration.
public Map<String,String> userPoolTags()
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AdminCreateUserConfigType adminCreateUserConfig()
The configuration for AdminCreateUser requests.
AdminCreateUser requests.public List<SchemaAttributeType> schema()
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UserPoolAddOnsType userPoolAddOns()
Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value
"AUDIT".
AdvancedSecurityMode to the
value "AUDIT".public CreateUserPoolRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserPoolRequest.Builder,CreateUserPoolRequest>toBuilder in class CognitoIdentityProviderRequestpublic static CreateUserPoolRequest.Builder builder()
public static Class<? extends CreateUserPoolRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.