public static interface CreateTagsRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>
Modifier and Type | Method and Description |
---|---|
CreateTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
CreateTagsRequest.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-1: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-1: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"
.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.