public static interface ListTagsForResourceResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResponse.Builder |
arn(String arn)
The ARN you specified to list the tags of.
|
ListTagsForResourceResponse.Builder |
nextToken(String nextToken)
When you can get additional results from the
ListTagsForResource call, a NextToken
parameter is returned in the output. |
ListTagsForResourceResponse.Builder |
tags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
ListTagsForResourceResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
ListTagsForResourceResponse.Builder |
tags(Tag... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListTagsForResourceResponse.Builder arn(String arn)
The ARN you specified to list the tags of.
arn
- The ARN you specified to list the tags of.ListTagsForResourceResponse.Builder nextToken(String nextToken)
When you can get additional results from the ListTagsForResource
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to continue listing additional tags.
nextToken
- When you can get additional results from the ListTagsForResource
call, a
NextToken
parameter is returned in the output. You can then pass in a subsequent command
to the NextToken
parameter to continue listing additional tags.ListTagsForResourceResponse.Builder tags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
tags
- Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for
items. Tags are metadata that you define.ListTagsForResourceResponse.Builder tags(Tag... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
tags
- Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for
items. Tags are metadata that you define.ListTagsForResourceResponse.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
This is a convenience that creates an instance of theList.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)