public static interface CreateTagsRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateTagsRequest.Builder |
resourceName(String resourceName)
The Amazon Resource Name (ARN) to which you want to add the tag or tags.
|
CreateTagsRequest.Builder |
tags(Collection<Tag> tags)
One or more name/value pairs to add as tags to the specified resource.
|
CreateTagsRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
One or more name/value pairs to add as tags to the specified resource.
|
CreateTagsRequest.Builder |
tags(Tag... tags)
One or more name/value pairs to add as tags to the specified resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTagsRequest.Builder resourceName(String resourceName)
The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1.
resourceName - The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1.CreateTagsRequest.Builder tags(Collection<Tag> tags)
One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the
parameter Key and the corresponding value is passed in with the parameter Value.
The Key and Value parameters are separated by a comma (,). Separate multiple tags
with a space. For example,
--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.
tags - One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with
the parameter Key and the corresponding value is passed in with the parameter
Value. The Key and Value parameters are separated by a comma
(,). Separate multiple tags with a space. For example,
--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.CreateTagsRequest.Builder tags(Tag... tags)
One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the
parameter Key and the corresponding value is passed in with the parameter Value.
The Key and Value parameters are separated by a comma (,). Separate multiple tags
with a space. For example,
--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.
tags - One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with
the parameter Key and the corresponding value is passed in with the parameter
Value. The Key and Value parameters are separated by a comma
(,). Separate multiple tags with a space. For example,
--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.CreateTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the
parameter Key and the corresponding value is passed in with the parameter Value.
The Key and Value parameters are separated by a comma (,). Separate multiple tags
with a space. For example,
--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0"
.
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.