public static interface GetUserResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<GetUserResponse.Builder,GetUserResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUserResponse.Builder |
mfaOptions(Collection<MFAOptionType> mfaOptions)
Specifies the options for MFA (e.g., email or phone number).
|
GetUserResponse.Builder |
mfaOptions(Consumer<MFAOptionType.Builder>... 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(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
GetUserResponse.Builder |
userAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
GetUserResponse.Builder |
userAttributes(Consumer<AttributeType.Builder>... 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetUserResponse.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.
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(Consumer<AttributeType.Builder>... userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix to the attribute name.
List.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) 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).
mfaOptions - Specifies the options for MFA (e.g., email or phone number).GetUserResponse.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) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.