Interface ListTagsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> CostExplorerResponse.Builder
,SdkBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder
extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresourceTags
(Collection<ResourceTag> resourceTags) A list of tag key value pairs that are associated with the resource.resourceTags
(Consumer<ResourceTag.Builder>... resourceTags) A list of tag key value pairs that are associated with the resource.resourceTags
(ResourceTag... resourceTags) A list of tag key value pairs that are associated with the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceTags
A list of tag key value pairs that are associated with the resource.
- Parameters:
resourceTags
- A list of tag key value pairs that are associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
A list of tag key value pairs that are associated with the resource.
- Parameters:
resourceTags
- A list of tag key value pairs that are associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
A list of tag key value pairs that are associated with the resource.
This is a convenience method that creates an instance of theResourceTag.Builder
avoiding the need to create one manually viaResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<ResourceTag>)
.- Parameters:
resourceTags
- a consumer that will call methods onResourceTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-