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 resource.
|
AddTagsRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with a resource.
|
AddTagsRequest.Builder |
tags(Tag... tags)
A list of tags to associate with a resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsRequest.Builder resourceId(String resourceId)
The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or an Amazon EMR Studio ID.
resourceId - The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or
an Amazon EMR Studio ID.AddTagsRequest.Builder tags(Collection<Tag> tags)
A list of tags to associate with a resource. 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 resource. 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 resource. 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 resource. 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 resource. 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 method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.