public static interface CreateUserRequest.Builder extends AlexaForBusinessRequest.Builder, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
Modifier and Type | Method and Description |
---|---|
CreateUserRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
CreateUserRequest.Builder |
email(String email)
The email address for the user.
|
CreateUserRequest.Builder |
firstName(String firstName)
The first name for the user.
|
CreateUserRequest.Builder |
lastName(String lastName)
The last name for the user.
|
CreateUserRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateUserRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateUserRequest.Builder |
tags(Collection<Tag> tags)
The tags for the user.
|
CreateUserRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the user.
|
CreateUserRequest.Builder |
tags(Tag... tags)
The tags for the user.
|
CreateUserRequest.Builder |
userId(String userId)
The ARN for the user.
|
build
overrideConfiguration
copy
applyMutation, build
CreateUserRequest.Builder userId(String userId)
The ARN for the user.
userId
- The ARN for the user.CreateUserRequest.Builder firstName(String firstName)
The first name for the user.
firstName
- The first name for the user.CreateUserRequest.Builder lastName(String lastName)
The last name for the user.
lastName
- The last name for the user.CreateUserRequest.Builder email(String email)
The email address for the user.
email
- The email address for the user.CreateUserRequest.Builder clientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.CreateUserRequest.Builder tags(Collection<Tag> tags)
The tags for the user.
tags
- The tags for the user.CreateUserRequest.Builder tags(Tag... tags)
The tags for the user.
tags
- The tags for the user.CreateUserRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the user.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.