Interface ListCostCategoryDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCostCategoryDefinitionsResponse.Builder,
,ListCostCategoryDefinitionsResponse> CostExplorerResponse.Builder
,SdkBuilder<ListCostCategoryDefinitionsResponse.Builder,
,ListCostCategoryDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCostCategoryDefinitionsResponse
public static interface ListCostCategoryDefinitionsResponse.Builder
extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListCostCategoryDefinitionsResponse.Builder,ListCostCategoryDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncostCategoryReferences
(Collection<CostCategoryReference> costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.costCategoryReferences
(Consumer<CostCategoryReference.Builder>... costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.costCategoryReferences
(CostCategoryReference... costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.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
-
costCategoryReferences
ListCostCategoryDefinitionsResponse.Builder costCategoryReferences(Collection<CostCategoryReference> costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.
- Parameters:
costCategoryReferences
- A reference to a Cost Category that contains enough information to identify the Cost Category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategoryReferences
ListCostCategoryDefinitionsResponse.Builder costCategoryReferences(CostCategoryReference... costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.
- Parameters:
costCategoryReferences
- A reference to a Cost Category that contains enough information to identify the Cost Category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategoryReferences
ListCostCategoryDefinitionsResponse.Builder costCategoryReferences(Consumer<CostCategoryReference.Builder>... costCategoryReferences) A reference to a Cost Category that contains enough information to identify the Cost Category.
This is a convenience method that creates an instance of theCostCategoryReference.Builder
avoiding the need to create one manually viaCostCategoryReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostCategoryReferences(List<CostCategoryReference>)
.- Parameters:
costCategoryReferences
- a consumer that will call methods onCostCategoryReference.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.
-