Interface TagResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>,LocationRequest.Builder,SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
public static interface TagResourceRequest.Builder extends LocationRequest.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 Amazon Resource Name (ARN) of the resource whose tags you want to update.TagResourceRequest.Buildertags(Map<String,String> tags)Applies one or more tags to specific 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.services.location.model.LocationRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceArn
TagResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource whose tags you want to update.
-
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource whose tags you want to update.-
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
TagResourceRequest.Builder tags(Map<String,String> tags)
Applies one or more tags to specific resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.
Format:
"key" : "value"Restrictions:
-
Maximum 50 tags per resource.
-
Each tag key must be unique and must have exactly one associated value.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @
-
Cannot use "aws:" as a prefix for a key.
- Parameters:
tags- Applies one or more tags to specific resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.Format:
"key" : "value"Restrictions:
-
Maximum 50 tags per resource.
-
Each tag key must be unique and must have exactly one associated value.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @
-
Cannot use "aws:" as a prefix for a key.
-
- 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
-
-