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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceResponse.BuilderresourceTags(Collection<ResourceTag> resourceTags)A list of tag key value pairs that are associated with the resource.ListTagsForResourceResponse.BuilderresourceTags(Consumer<ResourceTag.Builder>... resourceTags)A list of tag key value pairs that are associated with the resource.ListTagsForResourceResponse.BuilderresourceTags(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 Detail
-
resourceTags
ListTagsForResourceResponse.Builder resourceTags(Collection<ResourceTag> 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
ListTagsForResourceResponse.Builder resourceTags(ResourceTag... 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
ListTagsForResourceResponse.Builder resourceTags(Consumer<ResourceTag.Builder>... 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.Builderavoiding the need to create one manually viaResourceTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceTags(List.) - 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:
#resourceTags(java.util.Collection)
-
-