public static interface AdminGetUserResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminGetUserResponse.Builder,AdminGetUserResponse>
Modifier and Type | Method and Description |
---|---|
AdminGetUserResponse.Builder |
enabled(Boolean enabled)
Indicates that the status is enabled.
|
AdminGetUserResponse.Builder |
mfaOptions(Collection<MFAOptionType> mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResponse.Builder |
mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResponse.Builder |
mfaOptions(MFAOptionType... mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResponse.Builder |
preferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
|
AdminGetUserResponse.Builder |
userAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResponse.Builder |
userAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResponse.Builder |
userAttributes(Consumer<AttributeType.Builder>... userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResponse.Builder |
userCreateDate(Instant userCreateDate)
The date the user was created.
|
AdminGetUserResponse.Builder |
userLastModifiedDate(Instant userLastModifiedDate)
The date the user was last modified.
|
AdminGetUserResponse.Builder |
userMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
|
AdminGetUserResponse.Builder |
userMFASettingList(String... userMFASettingList)
The list of the user's MFA settings.
|
AdminGetUserResponse.Builder |
username(String username)
The user name of the user about whom you are receiving information.
|
AdminGetUserResponse.Builder |
userStatus(String userStatus)
The user status.
|
AdminGetUserResponse.Builder |
userStatus(UserStatusType userStatus)
The user status.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
AdminGetUserResponse.Builder username(String username)
The user name of the user about whom you are receiving information.
username
- The user name of the user about whom you are receiving information.AdminGetUserResponse.Builder userAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.AdminGetUserResponse.Builder userAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.AdminGetUserResponse.Builder userAttributes(Consumer<AttributeType.Builder>... userAttributes)
An array of name-value pairs representing user attributes.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #userAttributes(List)
.userAttributes
- a consumer that will call methods on List.Builder
#userAttributes(List)
AdminGetUserResponse.Builder userCreateDate(Instant userCreateDate)
The date the user was created.
userCreateDate
- The date the user was created.AdminGetUserResponse.Builder userLastModifiedDate(Instant userLastModifiedDate)
The date the user was last modified.
userLastModifiedDate
- The date the user was last modified.AdminGetUserResponse.Builder enabled(Boolean enabled)
Indicates that the status is enabled.
enabled
- Indicates that the status is enabled.AdminGetUserResponse.Builder userStatus(String userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
userStatus
- The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
UserStatusType
,
UserStatusType
AdminGetUserResponse.Builder userStatus(UserStatusType userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
userStatus
- The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
UserStatusType
,
UserStatusType
AdminGetUserResponse.Builder mfaOptions(Collection<MFAOptionType> mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
mfaOptions
- Specifies the options for MFA (e.g., email or phone number).AdminGetUserResponse.Builder mfaOptions(MFAOptionType... mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
mfaOptions
- Specifies the options for MFA (e.g., email or phone number).AdminGetUserResponse.Builder mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #mfaOptions(List)
.mfaOptions
- a consumer that will call methods on List.Builder
#mfaOptions(List)
AdminGetUserResponse.Builder preferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
preferredMfaSetting
- The user's preferred MFA setting.AdminGetUserResponse.Builder userMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
userMFASettingList
- The list of the user's MFA settings.AdminGetUserResponse.Builder userMFASettingList(String... userMFASettingList)
The list of the user's MFA settings.
userMFASettingList
- The list of the user's MFA settings.Copyright © 2019. All rights reserved.