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)
This response parameter is no longer supported. It provides information only about SMS MFA
configurations.
|
AdminGetUserResponse.Builder |
mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
This response parameter is no longer supported. It provides information only about SMS MFA
configurations.
|
AdminGetUserResponse.Builder |
mfaOptions(MFAOptionType... mfaOptions)
This response parameter is no longer supported. It provides information only about SMS MFA
configurations.
|
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 MFA options that are enabled for the user.
|
AdminGetUserResponse.Builder |
userMFASettingList(String... userMFASettingList)
The MFA options that are enabled for the user.
|
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
equalsBySdkFields, sdkFields
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)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
mfaOptions
- This response parameter is no longer supported. It provides information only about SMS MFA
configurations. It doesn't provide information about TOTP software token MFA configurations. To look
up information about either type of MFA configuration, use UserMFASettingList instead.AdminGetUserResponse.Builder mfaOptions(MFAOptionType... mfaOptions)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
mfaOptions
- This response parameter is no longer supported. It provides information only about SMS MFA
configurations. It doesn't provide information about TOTP software token MFA configurations. To look
up information about either type of MFA configuration, use UserMFASettingList instead.AdminGetUserResponse.Builder mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
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 MFA options that are enabled for the user. The possible values in this list are SMS_MFA
and
SOFTWARE_TOKEN_MFA
.
userMFASettingList
- The MFA options that are enabled for the user. The possible values in this list are
SMS_MFA
and SOFTWARE_TOKEN_MFA
.AdminGetUserResponse.Builder userMFASettingList(String... userMFASettingList)
The MFA options that are enabled for the user. The possible values in this list are SMS_MFA
and
SOFTWARE_TOKEN_MFA
.
userMFASettingList
- The MFA options that are enabled for the user. The possible values in this list are
SMS_MFA
and SOFTWARE_TOKEN_MFA
.Copyright © 2020. All rights reserved.