public static interface TagRequest.Builder extends ResourceGroupsRequest.Builder, CopyableBuilder<TagRequest.Builder,TagRequest>
Modifier and Type | Method and Description |
---|---|
TagRequest.Builder |
arn(String arn)
The ARN of the resource to which to add tags.
|
TagRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
TagRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
TagRequest.Builder |
tags(Map<String,String> tags)
The tags to add to the specified resource.
|
build
requestOverrideConfig
copy
apply, build
TagRequest.Builder arn(String arn)
The ARN of the resource to which to add tags.
arn
- The ARN of the resource to which to add tags.TagRequest.Builder tags(Map<String,String> tags)
The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.
tags
- The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag
keys can have a maximum character length of 127 characters, and tag values can have a maximum length
of 255 characters.TagRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.TagRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.