Interface CostEstimate.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CostEstimate.Builder,,- CostEstimate> - SdkBuilder<CostEstimate.Builder,,- CostEstimate> - SdkPojo
- Enclosing class:
- CostEstimate
@Mutable
@NotThreadSafe
public static interface CostEstimate.Builder
extends SdkPojo, CopyableBuilder<CostEstimate.Builder,CostEstimate> 
- 
Method SummaryModifier and TypeMethodDescriptionresultsByTime(Collection<EstimateByTime> resultsByTime) The cost estimate result that's associated with a time period.resultsByTime(Consumer<EstimateByTime.Builder>... resultsByTime) The cost estimate result that's associated with a time period.resultsByTime(EstimateByTime... resultsByTime) The cost estimate result that's associated with a time period.The types of usage that are included in the estimate, such as costs, usage, or data transfer.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- 
usageTypeThe types of usage that are included in the estimate, such as costs, usage, or data transfer. - Parameters:
- usageType- The types of usage that are included in the estimate, such as costs, usage, or data transfer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultsByTimeThe cost estimate result that's associated with a time period. - Parameters:
- resultsByTime- The cost estimate result that's associated with a time period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultsByTimeThe cost estimate result that's associated with a time period. - Parameters:
- resultsByTime- The cost estimate result that's associated with a time period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultsByTimeThe cost estimate result that's associated with a time period. This is a convenience method that creates an instance of theEstimateByTime.Builderavoiding the need to create one manually viaEstimateByTime.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultsByTime(List<EstimateByTime>).- Parameters:
- resultsByTime- a consumer that will call methods on- EstimateByTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-