Interface TagResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkPojo,SdkRequest.Builder,SyntheticsRequest.Builder
- Enclosing class:
- TagResourceRequest
public static interface TagResourceRequest.Builder extends SyntheticsRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TagResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TagResourceRequest.BuilderresourceArn(String resourceArn)The ARN of the canary or group that you're adding tags to.TagResourceRequest.Buildertags(Map<String,String> tags)The list of key-value pairs to associate with the resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsRequest.Builder
build
-
-
-
-
Method Detail
-
resourceArn
TagResourceRequest.Builder resourceArn(String resourceArn)
The ARN of the canary or group that you're adding tags to.
The ARN format of a canary is
arn:aws:synthetics:Region:account-id:canary:canary-name.The ARN format of a group is
arn:aws:synthetics:Region:account-id:group:group-name- Parameters:
resourceArn- The ARN of the canary or group that you're adding tags to.The ARN format of a canary is
arn:aws:synthetics:Region:account-id:canary:canary-name.The ARN format of a group is
arn:aws:synthetics:Region:account-id:group:group-name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Map<String,String> 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
-
-