public static interface TagResourceRequest.Builder extends MediaStoreRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
| Modifier and Type | Method and Description |
|---|---|
TagResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
TagResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
TagResourceRequest.Builder |
resource(String resource)
The Amazon Resource Name (ARN) for the container.
|
TagResourceRequest.Builder |
tags(Collection<Tag> tags)
An array of key:value pairs that you want to add to the container.
|
TagResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key:value pairs that you want to add to the container.
|
TagResourceRequest.Builder |
tags(Tag... tags)
An array of key:value pairs that you want to add to the container.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagResourceRequest.Builder resource(String resource)
The Amazon Resource Name (ARN) for the container.
resource - The Amazon Resource Name (ARN) for the container.TagResourceRequest.Builder tags(Collection<Tag> tags)
An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.
tags - An array of key:value pairs that you want to add to the container. You need to specify only the tags
that you want to add or update. For example, suppose a container already has two tags
(customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag
(type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The
result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.TagResourceRequest.Builder tags(Tag... tags)
An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.
tags - An array of key:value pairs that you want to add to the container. You need to specify only the tags
that you want to add or update. For example, suppose a container already has two tags
(customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag
(type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The
result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.TagResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.
This is a convenience method 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) TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.