Interface CostDifference.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CostDifference.Builder,,- CostDifference> - SdkBuilder<CostDifference.Builder,,- CostDifference> - SdkPojo
- Enclosing class:
- CostDifference
@Mutable
@NotThreadSafe
public static interface CostDifference.Builder
extends SdkPojo, CopyableBuilder<CostDifference.Builder,CostDifference> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault CostDifference.BuilderestimatedCost(Consumer<CostAmount.Builder> estimatedCost) The estimated cost amount.estimatedCost(CostAmount estimatedCost) The estimated cost amount.default CostDifference.BuilderhistoricalCost(Consumer<CostAmount.Builder> historicalCost) The historical cost amount.historicalCost(CostAmount historicalCost) The historical cost amount.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
historicalCostThe historical cost amount. - Parameters:
- historicalCost- The historical cost amount.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
historicalCostThe historical cost amount. This is a convenience method that creates an instance of theCostAmount.Builderavoiding the need to create one manually viaCostAmount.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohistoricalCost(CostAmount).- Parameters:
- historicalCost- a consumer that will call methods on- CostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
estimatedCostThe estimated cost amount. - Parameters:
- estimatedCost- The estimated cost amount.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
estimatedCostThe estimated cost amount. This is a convenience method that creates an instance of theCostAmount.Builderavoiding the need to create one manually viaCostAmount.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedCost(CostAmount).- Parameters:
- estimatedCost- a consumer that will call methods on- CostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-