public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
Modifier and Type | Method and Description |
---|---|
User.Builder |
arn(String arn)
The ARN of the user.
|
User.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication type for the user.
|
User.Builder |
authenticationType(String authenticationType)
The authentication type for the user.
|
User.Builder |
createdTime(Instant createdTime)
The date and time the user was created in the user pool.
|
User.Builder |
enabled(Boolean enabled)
Specifies whether the user in the user pool is enabled.
|
User.Builder |
firstName(String firstName)
The first name, or given name, of the user.
|
User.Builder |
lastName(String lastName)
The last name, or surname, of the user.
|
User.Builder |
status(String status)
The status of the user in the user pool.
|
User.Builder |
userName(String userName)
The email address of the user.
|
copy
applyMutation, build
User.Builder arn(String arn)
The ARN of the user.
arn
- The ARN of the user.User.Builder userName(String userName)
The email address of the user.
userName
- The email address of the user.User.Builder enabled(Boolean enabled)
Specifies whether the user in the user pool is enabled.
enabled
- Specifies whether the user in the user pool is enabled.User.Builder status(String status)
The status of the user in the user pool. The status can be one of the following:
UNCONFIRMED – The user is created but not confirmed.
CONFIRMED – The user is confirmed.
ARCHIVED – The user is no longer active.
COMPROMISED – The user is disabled because of a potential security threat.
UNKNOWN – The user status is not known.
status
- The status of the user in the user pool. The status can be one of the following:
UNCONFIRMED – The user is created but not confirmed.
CONFIRMED – The user is confirmed.
ARCHIVED – The user is no longer active.
COMPROMISED – The user is disabled because of a potential security threat.
UNKNOWN – The user status is not known.
User.Builder firstName(String firstName)
The first name, or given name, of the user.
firstName
- The first name, or given name, of the user.User.Builder lastName(String lastName)
The last name, or surname, of the user.
lastName
- The last name, or surname, of the user.User.Builder createdTime(Instant createdTime)
The date and time the user was created in the user pool.
createdTime
- The date and time the user was created in the user pool.User.Builder authenticationType(String authenticationType)
The authentication type for the user.
authenticationType
- The authentication type for the user.AuthenticationType
,
AuthenticationType
User.Builder authenticationType(AuthenticationType authenticationType)
The authentication type for the user.
authenticationType
- The authentication type for the user.AuthenticationType
,
AuthenticationType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.