Interface ListCostAllocationTagsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCostAllocationTagsResponse.Builder,
,ListCostAllocationTagsResponse> CostExplorerResponse.Builder
,SdkBuilder<ListCostAllocationTagsResponse.Builder,
,ListCostAllocationTagsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCostAllocationTagsResponse
public static interface ListCostAllocationTagsResponse.Builder
extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListCostAllocationTagsResponse.Builder,ListCostAllocationTagsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncostAllocationTags
(Collection<CostAllocationTag> costAllocationTags) A list of cost allocation tags that includes the detailed metadata for each one.costAllocationTags
(Consumer<CostAllocationTag.Builder>... costAllocationTags) A list of cost allocation tags that includes the detailed metadata for each one.costAllocationTags
(CostAllocationTag... costAllocationTags) A list of cost allocation tags that includes the detailed metadata for each one.The token to retrieve the next set of results.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
-
costAllocationTags
ListCostAllocationTagsResponse.Builder costAllocationTags(Collection<CostAllocationTag> costAllocationTags) A list of cost allocation tags that includes the detailed metadata for each one.
- Parameters:
costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costAllocationTags
A list of cost allocation tags that includes the detailed metadata for each one.
- Parameters:
costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costAllocationTags
ListCostAllocationTagsResponse.Builder costAllocationTags(Consumer<CostAllocationTag.Builder>... costAllocationTags) A list of cost allocation tags that includes the detailed metadata for each one.
This is a convenience method that creates an instance of theCostAllocationTag.Builder
avoiding the need to create one manually viaCostAllocationTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostAllocationTags(List<CostAllocationTag>)
.- Parameters:
costAllocationTags
- a consumer that will call methods onCostAllocationTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
- Parameters:
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-