public static interface AddTagsRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsRequest.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)
overrideConfiguration in interface AwsRequest.BuilderAddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.