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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCostCategoryDefinitionsResponse.BuildercostCategoryReferences(Collection<CostCategoryReference> costCategoryReferences)A reference to a Cost Category that contains enough information to identify the Cost Category.ListCostCategoryDefinitionsResponse.BuildercostCategoryReferences(Consumer<CostCategoryReference.Builder>... costCategoryReferences)A reference to a Cost Category that contains enough information to identify the Cost Category.ListCostCategoryDefinitionsResponse.BuildercostCategoryReferences(CostCategoryReference... costCategoryReferences)A reference to a Cost Category that contains enough information to identify the Cost Category.ListCostCategoryDefinitionsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaCostCategoryReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#costCategoryReferences(List.) - 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:
#costCategoryReferences(java.util.Collection)
-
nextToken
ListCostCategoryDefinitionsResponse.Builder nextToken(String 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.
-
-