public static interface UserType.Builder extends SdkPojo, CopyableBuilder<UserType.Builder,UserType>
| Modifier and Type | Method and Description |
|---|---|
UserType.Builder |
attributes(AttributeType... attributes)
A container with information about the user type attributes.
|
UserType.Builder |
attributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
UserType.Builder |
attributes(Consumer<AttributeType.Builder>... attributes)
A container with information about the user type attributes.
|
UserType.Builder |
enabled(Boolean enabled)
Specifies whether the user is enabled.
|
UserType.Builder |
mfaOptions(Collection<MFAOptionType> mfaOptions)
The MFA options for the user.
|
UserType.Builder |
mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
The MFA options for the user.
|
UserType.Builder |
mfaOptions(MFAOptionType... mfaOptions)
The MFA options for the user.
|
UserType.Builder |
userCreateDate(Instant userCreateDate)
The creation date of the user.
|
UserType.Builder |
userLastModifiedDate(Instant userLastModifiedDate)
The last modified date of the user.
|
UserType.Builder |
username(String username)
The user name of the user you want to describe.
|
UserType.Builder |
userStatus(String userStatus)
The user status.
|
UserType.Builder |
userStatus(UserStatusType userStatus)
The user status.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserType.Builder username(String username)
The user name of the user you want to describe.
username - The user name of the user you want to describe.UserType.Builder attributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes - A container with information about the user type attributes.UserType.Builder attributes(AttributeType... attributes)
A container with information about the user type attributes.
attributes - A container with information about the user type attributes.UserType.Builder attributes(Consumer<AttributeType.Builder>... 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 via
AttributeType.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #attributes(List.
attributes - a consumer that will call methods on
AttributeType.Builder#attributes(java.util.Collection) UserType.Builder userCreateDate(Instant userCreateDate)
The creation date of the user.
userCreateDate - The creation date of the user.UserType.Builder userLastModifiedDate(Instant userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate - The last modified date of the user.UserType.Builder enabled(Boolean enabled)
Specifies whether the user is enabled.
enabled - Specifies whether the user is enabled.UserType.Builder userStatus(String 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.
ARCHIVED - User is no longer active.
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.
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.
ARCHIVED - User is no longer active.
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.
UserStatusType,
UserStatusTypeUserType.Builder userStatus(UserStatusType 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.
ARCHIVED - User is no longer active.
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.
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.
ARCHIVED - User is no longer active.
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.
UserStatusType,
UserStatusTypeUserType.Builder mfaOptions(Collection<MFAOptionType> mfaOptions)
The MFA options for the user.
mfaOptions - The MFA options for the user.UserType.Builder mfaOptions(MFAOptionType... mfaOptions)
The MFA options for the user.
mfaOptions - The MFA options for the user.UserType.Builder mfaOptions(Consumer<MFAOptionType.Builder>... 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 via
MFAOptionType.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #mfaOptions(List.
mfaOptions - a consumer that will call methods on
MFAOptionType.Builder#mfaOptions(java.util.Collection) Copyright © 2022. All rights reserved.