Interface TagResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<TagResourceRequest.Builder,,TagResourceRequest> SdkBuilder<TagResourceRequest.Builder,,TagResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
@Mutable
@NotThreadSafe
public static interface TagResourceRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) resourceArn(String resourceArn) The ARN of the resource that you're adding tags to.The list of key-value pairs to associate with the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
The ARN of the resource that you're adding tags to.
The ARN format of a log group is
arn:aws:logs:Region:account-id:log-group:log-group-nameThe ARN format of a destination is
arn:aws:logs:Region:account-id:destination:destination-nameFor more information about ARN format, see CloudWatch Logs resources and operations.
- Parameters:
resourceArn- The ARN of the resource that you're adding tags to.The ARN format of a log group is
arn:aws:logs:Region:account-id:log-group:log-group-nameThe ARN format of a destination is
arn:aws:logs:Region:account-id:destination:destination-nameFor more information about ARN format, see CloudWatch Logs resources and operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of key-value pairs to associate with the resource.
- Parameters:
tags- The list of key-value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-