Interface BillEstimateCostSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BillEstimateCostSummary.Builder,,BillEstimateCostSummary> SdkBuilder<BillEstimateCostSummary.Builder,,BillEstimateCostSummary> SdkPojo
- Enclosing class:
BillEstimateCostSummary
@Mutable
@NotThreadSafe
public static interface BillEstimateCostSummary.Builder
extends SdkPojo, CopyableBuilder<BillEstimateCostSummary.Builder,BillEstimateCostSummary>
-
Method Summary
Modifier and TypeMethodDescriptionserviceCostDifferences(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.totalCostDifference(CostDifference totalCostDifference) The total difference in cost between the estimated and historical costs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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.
-