public static interface TagResourceRequest.Builder extends DataSyncRequest.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)
Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.
|
TagResourceRequest.Builder |
tags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the resource.
|
TagResourceRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
Specifies the tags that you want to apply to the resource.
|
TagResourceRequest.Builder |
tags(TagListEntry... tags)
Specifies the tags that you want to apply to the resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagResourceRequest.Builder resourceArn(String resourceArn)
Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.
resourceArn - Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.TagResourceRequest.Builder tags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the resource.
tags - Specifies the tags that you want to apply to the resource.TagResourceRequest.Builder tags(TagListEntry... tags)
Specifies the tags that you want to apply to the resource.
tags - Specifies the tags that you want to apply to the resource.TagResourceRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
Specifies the tags that you want to apply to the resource.
This is a convenience method that creates an instance of theTagListEntry.Builder avoiding the need to create one
manually via TagListEntry.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
TagListEntry.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.