Interface CostEstimate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CostEstimate.Builder,CostEstimate>,SdkBuilder<CostEstimate.Builder,CostEstimate>,SdkPojo
- Enclosing class:
- CostEstimate
public static interface CostEstimate.Builder extends SdkPojo, CopyableBuilder<CostEstimate.Builder,CostEstimate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CostEstimate.BuilderresultsByTime(Collection<EstimateByTime> resultsByTime)The cost estimate result that's associated with a time period.CostEstimate.BuilderresultsByTime(Consumer<EstimateByTime.Builder>... resultsByTime)The cost estimate result that's associated with a time period.CostEstimate.BuilderresultsByTime(EstimateByTime... resultsByTime)The cost estimate result that's associated with a time period.CostEstimate.BuilderusageType(String usageType)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.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
usageType
CostEstimate.Builder usageType(String usageType)
The 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.
-
resultsByTime
CostEstimate.Builder resultsByTime(Collection<EstimateByTime> resultsByTime)
The 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.
-
resultsByTime
CostEstimate.Builder resultsByTime(EstimateByTime... resultsByTime)
The 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.
-
resultsByTime
CostEstimate.Builder resultsByTime(Consumer<EstimateByTime.Builder>... resultsByTime)
The 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 to#resultsByTime(List.) - Parameters:
resultsByTime- a consumer that will call methods onEstimateByTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resultsByTime(java.util.Collection)
-
-