public static interface TagResourceRequest.Builder extends AppRunnerRequest.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 |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
|
TagResourceRequest.Builder |
tags(Collection<Tag> tags)
A list of tag key-value pairs to add or update.
|
TagResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tag key-value pairs to add or update.
|
TagResourceRequest.Builder |
tags(Tag... tags)
A list of tag key-value pairs to add or update.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
It must be the ARN of an App Runner resource.
resourceArn - The Amazon Resource Name (ARN) of the resource that you want to update tags for.
It must be the ARN of an App Runner resource.
TagResourceRequest.Builder tags(Collection<Tag> tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
tags - A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with
the provided value. If a key is already associated with the resource, the value of the tag is updated.TagResourceRequest.Builder tags(Tag... tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
tags - A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with
the provided value. If a key is already associated with the resource, the value of the tag is updated.TagResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
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) TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.