public static interface ListTagsForResourceResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResponse.Builder |
tags(Collection<Tag> tags)
The list of tag keys and values associated with the resource you specified.
|
ListTagsForResourceResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tag keys and values associated with the resource you specified.
|
ListTagsForResourceResponse.Builder |
tags(Tag... tags)
The list of tag keys and values associated with the resource you specified.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListTagsForResourceResponse.Builder tags(Collection<Tag> tags)
The list of tag keys and values associated with the resource you specified.
tags
- The list of tag keys and values associated with the resource you specified.ListTagsForResourceResponse.Builder tags(Tag... tags)
The list of tag keys and values associated with the resource you specified.
tags
- The list of tag keys and values associated with the resource you specified.ListTagsForResourceResponse.Builder tags(Consumer<Tag.Builder>... tags)
The list of tag keys and values associated with the resource you specified.
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)
Copyright © 2022. All rights reserved.