public static interface EstimateByTime.Builder extends SdkPojo, CopyableBuilder<EstimateByTime.Builder,EstimateByTime>
| Modifier and Type | Method and Description |
|---|---|
EstimateByTime.Builder |
currency(Currency currency)
The currency of the estimate in USD.
|
EstimateByTime.Builder |
currency(String currency)
The currency of the estimate in USD.
|
EstimateByTime.Builder |
pricingUnit(PricingUnit pricingUnit)
The unit of measurement that's used for the cost estimate.
|
EstimateByTime.Builder |
pricingUnit(String pricingUnit)
The unit of measurement that's used for the cost estimate.
|
default EstimateByTime.Builder |
timePeriod(Consumer<TimePeriod.Builder> timePeriod)
The period of time, in days, that an estimate covers.
|
EstimateByTime.Builder |
timePeriod(TimePeriod timePeriod)
The period of time, in days, that an estimate covers.
|
EstimateByTime.Builder |
unit(Double unit)
The number of pricing units used to calculate the total number of hours.
|
EstimateByTime.Builder |
usageCost(Double usageCost)
The amount of cost or usage that's measured for the cost estimate.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEstimateByTime.Builder usageCost(Double usageCost)
The amount of cost or usage that's measured for the cost estimate.
usageCost - The amount of cost or usage that's measured for the cost estimate.EstimateByTime.Builder pricingUnit(String pricingUnit)
The unit of measurement that's used for the cost estimate.
pricingUnit - The unit of measurement that's used for the cost estimate.PricingUnit,
PricingUnitEstimateByTime.Builder pricingUnit(PricingUnit pricingUnit)
The unit of measurement that's used for the cost estimate.
pricingUnit - The unit of measurement that's used for the cost estimate.PricingUnit,
PricingUnitEstimateByTime.Builder unit(Double unit)
The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
unit - The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1
hour.EstimateByTime.Builder currency(String currency)
The currency of the estimate in USD.
EstimateByTime.Builder currency(Currency currency)
The currency of the estimate in USD.
EstimateByTime.Builder timePeriod(TimePeriod timePeriod)
The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.
timePeriod - The period of time, in days, that an estimate covers. The period has a start date and an end date. The
start date must come before the end date.default EstimateByTime.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod)
The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.
This is a convenience method that creates an instance of theTimePeriod.Builder avoiding the need to
create one manually via TimePeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timePeriod(TimePeriod).
timePeriod - a consumer that will call methods on TimePeriod.BuildertimePeriod(TimePeriod)Copyright © 2023. All rights reserved.