@Generated(value="software.amazon.awssdk:codegen") public final class UserPoolType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserPoolType.Builder,UserPoolType>
A container for information about the user pool.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserPoolType.Builder |
| Modifier and Type | Method and Description |
|---|---|
AdminCreateUserConfigType |
adminCreateUserConfig()
The configuration for
AdminCreateUser requests. |
List<AliasAttributeType> |
aliasAttributes()
Specifies the attributes that are aliased in a user pool.
|
List<String> |
aliasAttributesAsStrings()
Specifies the attributes that are aliased in a user pool.
|
String |
arn()
The Amazon Resource Name (ARN) for the user pool.
|
List<VerifiedAttributeType> |
autoVerifiedAttributes()
Specifies the attributes that are auto-verified in a user pool.
|
List<String> |
autoVerifiedAttributesAsStrings()
Specifies the attributes that are auto-verified in a user pool.
|
static UserPoolType.Builder |
builder() |
Instant |
creationDate()
The date the user pool was created.
|
String |
customDomain()
A custom domain name that you provide to Amazon Cognito.
|
DeviceConfigurationType |
deviceConfiguration()
The device configuration.
|
String |
domain()
Holds the domain prefix if the user pool has a domain associated with it.
|
EmailConfigurationType |
emailConfiguration()
The email configuration.
|
String |
emailConfigurationFailure()
The reason why the email configuration cannot send the messages to your users.
|
String |
emailVerificationMessage()
The contents of the email verification message.
|
String |
emailVerificationSubject()
The subject of the email verification message.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
estimatedNumberOfUsers()
A number estimating the size of the user pool.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the user pool.
|
LambdaConfigType |
lambdaConfig()
The AWS Lambda triggers associated with the user pool.
|
Instant |
lastModifiedDate()
The date the user pool was last modified.
|
UserPoolMfaType |
mfaConfiguration()
Can be one of the following values:
|
String |
mfaConfigurationAsString()
Can be one of the following values:
|
String |
name()
The name of the user pool.
|
UserPoolPolicyType |
policies()
The policies associated with the user pool.
|
List<SchemaAttributeType> |
schemaAttributes()
A container with the schema attributes of a user pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserPoolType.Builder> |
serializableBuilderClass() |
String |
smsAuthenticationMessage()
The contents of the SMS authentication message.
|
SmsConfigurationType |
smsConfiguration()
The SMS configuration.
|
String |
smsConfigurationFailure()
The reason why the SMS configuration cannot send the messages to your users.
|
String |
smsVerificationMessage()
The contents of the SMS verification message.
|
StatusType |
status()
The status of a user pool.
|
String |
statusAsString()
The status of a user pool.
|
UserPoolType.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()
The user pool add-ons.
|
Map<String,String> |
userPoolTags()
The tags that are assigned to the user pool.
|
VerificationMessageTemplateType |
verificationMessageTemplate()
The template for verification messages.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String id()
The ID of the user pool.
public String name()
The name of the user pool.
public UserPoolPolicyType policies()
The policies associated with the user pool.
public LambdaConfigType lambdaConfig()
The AWS Lambda triggers associated with the user pool.
public StatusType status()
The status of a user pool.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusTypepublic String statusAsString()
The status of a user pool.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusTypepublic Instant lastModifiedDate()
The date the user pool was last modified.
public Instant creationDate()
The date the user pool was created.
public List<SchemaAttributeType> schemaAttributes()
A container with the schema attributes of a user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<VerifiedAttributeType> autoVerifiedAttributes()
Specifies the attributes that are auto-verified in a user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> autoVerifiedAttributesAsStrings()
Specifies the attributes that are auto-verified in a user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<AliasAttributeType> aliasAttributes()
Specifies the attributes that are aliased in a user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> aliasAttributesAsStrings()
Specifies the attributes that are aliased in a user pool.
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()
The contents of the SMS verification message.
public String emailVerificationMessage()
The contents of the email verification message.
public String emailVerificationSubject()
The subject of the email verification message.
public VerificationMessageTemplateType verificationMessageTemplate()
The template for verification messages.
public String smsAuthenticationMessage()
The contents of the SMS authentication message.
public UserPoolMfaType mfaConfiguration()
Can be one of the following values:
OFF - MFA tokens are not required and cannot be specified during user registration.
ON - MFA tokens are required for all user registrations. You can only specify required when you are
initially creating a user pool.
OPTIONAL - Users have the option when registering to create an MFA token.
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().
OFF - MFA tokens are not required and cannot be specified during user registration.
ON - MFA tokens are required for all user registrations. You can only specify required when
you are initially creating a user pool.
OPTIONAL - Users have the option when registering to create an MFA token.
UserPoolMfaTypepublic String mfaConfigurationAsString()
Can be one of the following values:
OFF - MFA tokens are not required and cannot be specified during user registration.
ON - MFA tokens are required for all user registrations. You can only specify required when you are
initially creating a user pool.
OPTIONAL - Users have the option when registering to create an MFA token.
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().
OFF - MFA tokens are not required and cannot be specified during user registration.
ON - MFA tokens are required for all user registrations. You can only specify required when
you are initially creating a user pool.
OPTIONAL - Users have the option when registering to create an MFA token.
UserPoolMfaTypepublic DeviceConfigurationType deviceConfiguration()
The device configuration.
public Integer estimatedNumberOfUsers()
A number estimating the size of the user pool.
public EmailConfigurationType emailConfiguration()
The email configuration.
public SmsConfigurationType smsConfiguration()
The SMS configuration.
public Map<String,String> userPoolTags()
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them 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 String smsConfigurationFailure()
The reason why the SMS configuration cannot send the messages to your users.
public String emailConfigurationFailure()
The reason why the email configuration cannot send the messages to your users.
public String domain()
Holds the domain prefix if the user pool has a domain associated with it.
public String customDomain()
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain
to host the sign-up and sign-in pages for your application. For example: auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
public AdminCreateUserConfigType adminCreateUserConfig()
The configuration for AdminCreateUser requests.
AdminCreateUser requests.public UserPoolAddOnsType userPoolAddOns()
The user pool add-ons.
public String arn()
The Amazon Resource Name (ARN) for the user pool.
public UserPoolType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserPoolType.Builder,UserPoolType>public static UserPoolType.Builder builder()
public static Class<? extends UserPoolType.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.