CopyableBuilder<GetUserResponse.Builder,GetUserResponse>
, SdkBuilder<GetUserResponse.Builder,GetUserResponse>
public static interface GetUserResponse.Builder extends CopyableBuilder<GetUserResponse.Builder,GetUserResponse>
Modifier and Type | Method | Description |
---|---|---|
GetUserResponse.Builder |
mfaOptions(Collection<MFAOptionType> mfaOptions) |
Specifies the options for MFA (e.g., email or phone number).
|
GetUserResponse.Builder |
mfaOptions(MFAOptionType... mfaOptions) |
Specifies the options for MFA (e.g., email or phone number).
|
GetUserResponse.Builder |
userAttributes(Collection<AttributeType> userAttributes) |
An array of name-value pairs representing user attributes.
|
GetUserResponse.Builder |
userAttributes(AttributeType... userAttributes) |
An array of name-value pairs representing user attributes.
|
GetUserResponse.Builder |
username(String username) |
The user name of the user you wish to retrieve from the get user request.
|
copy
apply, build
GetUserResponse.Builder username(String username)
The user name of the user you wish to retrieve from the get user request.
username
- The user name of the user you wish to retrieve from the get user request.GetUserResponse.Builder userAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
userAttributes
- An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
GetUserResponse.Builder userAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
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.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
GetUserResponse.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).GetUserResponse.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.