CopyableBuilder<AdminGetUserResponse.Builder,AdminGetUserResponse>
, SdkBuilder<AdminGetUserResponse.Builder,AdminGetUserResponse>
public static interface AdminGetUserResponse.Builder extends CopyableBuilder<AdminGetUserResponse.Builder,AdminGetUserResponse>
Modifier and Type | Method | 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(MFAOptionType... mfaOptions) |
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResponse.Builder |
userAttributes(Collection<AttributeType> userAttributes) |
An array of name-value pairs representing user attributes.
|
AdminGetUserResponse.Builder |
userAttributes(AttributeType... userAttributes) |
An array of name-value pairs representing user attributes.
|
AdminGetUserResponse.Builder |
userCreateDate(Date userCreateDate) |
The date the user was created.
|
AdminGetUserResponse.Builder |
userLastModifiedDate(Date userLastModifiedDate) |
The date the user was last modified.
|
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.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setUserAttributes(java.util.Collection)
or #withUserAttributes(java.util.Collection)
if you
want to override the existing values.
userAttributes
- An array of name-value pairs representing user attributes.AdminGetUserResponse.Builder userCreateDate(Date userCreateDate)
The date the user was created.
userCreateDate
- The date the user was created.AdminGetUserResponse.Builder userLastModifiedDate(Date 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.
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.
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.
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.
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).
NOTE: This method appends the values to the existing list (if any). Use
#setMFAOptions(java.util.Collection)
or #withMFAOptions(java.util.Collection)
if you want to
override the existing values.
mfaOptions
- Specifies the options for MFA (e.g., email or phone number).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.