public static interface AddTagsToResourceRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<AddTagsToResourceRequest.Builder,AddTagsToResourceRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddTagsToResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AddTagsToResourceRequest.Builder |
resourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. |
AddTagsToResourceRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
AddTagsToResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource.
|
AddTagsToResourceRequest.Builder |
tags(Tag... tags)
A list of tags to be added to this resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsToResourceRequest.Builder resourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. ElastiCache resources are
cluster and snapshot.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
resourceName - The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. ElastiCache resources are
cluster and snapshot.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
AddTagsToResourceRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.AddTagsToResourceRequest.Builder tags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.AddTagsToResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
This is a convenience method that creates an instance of theTag.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) AddTagsToResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsToResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.