public static interface TagResourceRequest.Builder extends OamRequest.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 ARN of the resource that you're adding tags to.
|
TagResourceRequest.Builder |
tags(Map<String,String> tags)
The list of key-value pairs to associate with the resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagResourceRequest.Builder resourceArn(String resourceArn)
The ARN of the resource that you're adding tags to.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
resourceArn - The ARN of the resource that you're adding tags to.
The ARN format of a sink is
arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is
arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
TagResourceRequest.Builder tags(Map<String,String> tags)
The list of key-value pairs to associate with the resource.
tags - The list of key-value pairs to associate with the resource.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.