Interface BillEstimateCostSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillEstimateCostSummary.Builder,BillEstimateCostSummary>,SdkBuilder<BillEstimateCostSummary.Builder,BillEstimateCostSummary>,SdkPojo
- Enclosing class:
- BillEstimateCostSummary
public static interface BillEstimateCostSummary.Builder extends SdkPojo, CopyableBuilder<BillEstimateCostSummary.Builder,BillEstimateCostSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BillEstimateCostSummary.BuilderserviceCostDifferences(Map<String,CostDifference> serviceCostDifferences)A breakdown of cost differences by Amazon Web Services service.default BillEstimateCostSummary.BuildertotalCostDifference(Consumer<CostDifference.Builder> totalCostDifference)The total difference in cost between the estimated and historical costs.BillEstimateCostSummary.BuildertotalCostDifference(CostDifference totalCostDifference)The total difference in cost between the estimated and historical costs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
totalCostDifference
BillEstimateCostSummary.Builder totalCostDifference(CostDifference totalCostDifference)
The total difference in cost between the estimated and historical costs.
- Parameters:
totalCostDifference- The total difference in cost between the estimated and historical costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCostDifference
default BillEstimateCostSummary.Builder totalCostDifference(Consumer<CostDifference.Builder> totalCostDifference)
The total difference in cost between the estimated and historical costs.
This is a convenience method that creates an instance of theCostDifference.Builderavoiding the need to create one manually viaCostDifference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototalCostDifference(CostDifference).- Parameters:
totalCostDifference- a consumer that will call methods onCostDifference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
totalCostDifference(CostDifference)
-
serviceCostDifferences
BillEstimateCostSummary.Builder serviceCostDifferences(Map<String,CostDifference> serviceCostDifferences)
A breakdown of cost differences by Amazon Web Services service.
- Parameters:
serviceCostDifferences- A breakdown of cost differences by Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-