Interface UserType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserType.Builder,
,UserType> SdkBuilder<UserType.Builder,
,UserType> SdkPojo
- Enclosing class:
UserType
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<AttributeType> attributes) A container with information about the user type attributes.attributes
(Consumer<AttributeType.Builder>... attributes) A container with information about the user type attributes.attributes
(AttributeType... attributes) A container with information about the user type attributes.Specifies whether the user is enabled.mfaOptions
(Collection<MFAOptionType> mfaOptions) The MFA options for the user.mfaOptions
(Consumer<MFAOptionType.Builder>... mfaOptions) The MFA options for the user.mfaOptions
(MFAOptionType... mfaOptions) The MFA options for the user.userCreateDate
(Instant userCreateDate) The creation date of the user.userLastModifiedDate
(Instant userLastModifiedDate) The date and time, in ISO 8601 format, when the item was modified.The user name of the user you want to describe.userStatus
(String userStatus) The user status.userStatus
(UserStatusType userStatus) The user status.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, sdkFields
-
Method Details
-
username
The user name of the user you want to describe.
- Parameters:
username
- The user name of the user you want to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A container with information about the user type attributes.
- Parameters:
attributes
- A container with information about the user type attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A container with information about the user type attributes.
- Parameters:
attributes
- A container with information about the user type attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A container with information about the user type attributes.
This is a convenience method that creates an instance of theAttributeType.Builder
avoiding the need to create one manually viaAttributeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<AttributeType>)
.- Parameters:
attributes
- a consumer that will call methods onAttributeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userCreateDate
The creation date of the user.
- Parameters:
userCreateDate
- The creation date of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userLastModifiedDate
The date and time, in ISO 8601 format, when the item was modified.
- Parameters:
userLastModifiedDate
- The date and time, in ISO 8601 format, when the item was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether the user is enabled.
- Parameters:
enabled
- Specifies whether the user is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStatus
The user status. This can be one of the following:
-
UNCONFIRMED - User has been created but not confirmed.
-
CONFIRMED - User has been confirmed.
-
EXTERNAL_PROVIDER - User signed in with a third-party IdP.
-
UNKNOWN - User status isn't known.
-
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
-
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
- Parameters:
userStatus
- The user status. This can be one of the following:-
UNCONFIRMED - User has been created but not confirmed.
-
CONFIRMED - User has been confirmed.
-
EXTERNAL_PROVIDER - User signed in with a third-party IdP.
-
UNKNOWN - User status isn't known.
-
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
-
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
userStatus
The user status. This can be one of the following:
-
UNCONFIRMED - User has been created but not confirmed.
-
CONFIRMED - User has been confirmed.
-
EXTERNAL_PROVIDER - User signed in with a third-party IdP.
-
UNKNOWN - User status isn't known.
-
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
-
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
- Parameters:
userStatus
- The user status. This can be one of the following:-
UNCONFIRMED - User has been created but not confirmed.
-
CONFIRMED - User has been confirmed.
-
EXTERNAL_PROVIDER - User signed in with a third-party IdP.
-
UNKNOWN - User status isn't known.
-
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
-
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
mfaOptions
The MFA options for the user.
- Parameters:
mfaOptions
- The MFA options for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaOptions
The MFA options for the user.
- Parameters:
mfaOptions
- The MFA options for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaOptions
The MFA options for the user.
This is a convenience method that creates an instance of theMFAOptionType.Builder
avoiding the need to create one manually viaMFAOptionType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomfaOptions(List<MFAOptionType>)
.- Parameters:
mfaOptions
- a consumer that will call methods onMFAOptionType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-