@Generated(value="software.amazon.awssdk:codegen") public class UserPoolType extends Object implements StructuredPojo, ToCopyableBuilder<UserPoolType.Builder,UserPoolType>
A container for information about the user pool type.
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.
|
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.
|
DeviceConfigurationType |
deviceConfiguration()
The device configuration.
|
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) |
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()
A container for the AWS Lambda triggers associated with a user pool.
|
Instant |
lastModifiedDate()
The date the user pool was last modified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
A container for the policies associated with a user pool.
|
List<SchemaAttributeType> |
schemaAttributes()
A container with the schema attributes of a user pool.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
Map<String,String> |
userPoolTags()
The cost allocation tags for the user pool.
|
VerificationMessageTemplateType |
verificationMessageTemplate()
The template for verification messages.
|
copy
public String id()
The ID of the user pool.
public String name()
The name of the user pool.
public UserPoolPolicyType policies()
A container for the policies associated with a user pool.
public LambdaConfigType lambdaConfig()
A container for the AWS Lambda triggers associated with a 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()
.
StatusType
public 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()
.
StatusType
public 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.
UserPoolMfaType
public 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.
UserPoolMfaType
public 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 cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool
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 AdminCreateUserConfigType adminCreateUserConfig()
The configuration for AdminCreateUser
requests.
AdminCreateUser
requests.public UserPoolType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserPoolType.Builder,UserPoolType>
public static UserPoolType.Builder builder()
public static Class<? extends UserPoolType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.