public static interface AddTagsRequest.Builder extends EmrRequest.Builder, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
Modifier and Type | Method and Description |
---|---|
AddTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddTagsRequest.Builder |
resourceId(String resourceId)
The Amazon EMR resource identifier to which tags will be added.
|
AddTagsRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to associate with a cluster and propagate to EC2 instances.
|
AddTagsRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with a cluster and propagate to EC2 instances.
|
AddTagsRequest.Builder |
tags(Tag... tags)
A list of tags to associate with a cluster and propagate to EC2 instances.
|
build
overrideConfiguration
copy
applyMutation, build
AddTagsRequest.Builder resourceId(String resourceId)
The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.
resourceId
- The Amazon EMR resource identifier to which tags will be added. This value must be a cluster
identifier.AddTagsRequest.Builder tags(Collection<Tag> tags)
A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
tags
- A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined
key/value pairs that consist of a required key string with a maximum of 128 characters, and an
optional value string with a maximum of 256 characters.AddTagsRequest.Builder tags(Tag... tags)
A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
tags
- A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined
key/value pairs that consist of a required key string with a maximum of 128 characters, and an
optional value string with a maximum of 256 characters.AddTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
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)
AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddTagsRequest.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.