Interface User.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<User.Builder,
,User> SdkBuilder<User.Builder,
,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the user.authenticationType
(String authenticationType) The authentication type for the user.authenticationType
(AuthenticationType authenticationType) The authentication type for the user.createdTime
(Instant createdTime) The date and time the user was created in the user pool.Specifies whether the user in the user pool is enabled.The first name, or given name, of the user.The last name, or surname, of the user.The status of the user in the user pool.The email address of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the user.
- Parameters:
arn
- The ARN of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The email address of the user.
Users' email addresses are case-sensitive.
- Parameters:
userName
- The email address of the user.Users' email addresses are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether the user in the user pool is enabled.
- Parameters:
enabled
- Specifies whether the user in the user pool is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
firstName
The first name, or given name, of the user.
- Parameters:
firstName
- The first name, or given name, of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
The last name, or surname, of the user.
- Parameters:
lastName
- The last name, or surname, of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The date and time the user was created in the user pool.
- Parameters:
createdTime
- The date and time the user was created in the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationType
The authentication type for the user.
- Parameters:
authenticationType
- The authentication type for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication type for the user.
- Parameters:
authenticationType
- The authentication type for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-