Interface DescribeCostCategoryDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCostCategoryDefinitionResponse.Builder,DescribeCostCategoryDefinitionResponse>,CostExplorerResponse.Builder,SdkBuilder<DescribeCostCategoryDefinitionResponse.Builder,DescribeCostCategoryDefinitionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeCostCategoryDefinitionResponse
public static interface DescribeCostCategoryDefinitionResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<DescribeCostCategoryDefinitionResponse.Builder,DescribeCostCategoryDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeCostCategoryDefinitionResponse.BuildercostCategory(Consumer<CostCategory.Builder> costCategory)Sets the value of the CostCategory property for this object.DescribeCostCategoryDefinitionResponse.BuildercostCategory(CostCategory costCategory)Sets the value of the CostCategory property for this object.-
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
-
costCategory
DescribeCostCategoryDefinitionResponse.Builder costCategory(CostCategory costCategory)
Sets the value of the CostCategory property for this object.- Parameters:
costCategory- The new value for the CostCategory property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategory
default DescribeCostCategoryDefinitionResponse.Builder costCategory(Consumer<CostCategory.Builder> costCategory)
Sets the value of the CostCategory property for this object. This is a convenience method that creates an instance of theCostCategory.Builderavoiding the need to create one manually viaCostCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostCategory(CostCategory).- Parameters:
costCategory- a consumer that will call methods onCostCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
costCategory(CostCategory)
-
-