Interface EstimateByTime.Builder

    • Method Detail

      • usageCost

        EstimateByTime.Builder usageCost​(Double usageCost)

        The amount of cost or usage that's measured for the cost estimate.

        Parameters:
        usageCost - The amount of cost or usage that's measured for the cost estimate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pricingUnit

        EstimateByTime.Builder pricingUnit​(String pricingUnit)

        The unit of measurement that's used for the cost estimate.

        Parameters:
        pricingUnit - The unit of measurement that's used for the cost estimate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingUnit, PricingUnit
      • pricingUnit

        EstimateByTime.Builder pricingUnit​(PricingUnit pricingUnit)

        The unit of measurement that's used for the cost estimate.

        Parameters:
        pricingUnit - The unit of measurement that's used for the cost estimate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PricingUnit, PricingUnit
      • unit

        EstimateByTime.Builder unit​(Double unit)

        The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

        Parameters:
        unit - The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currency

        EstimateByTime.Builder currency​(String currency)

        The currency of the estimate in USD.

        Parameters:
        currency - The currency of the estimate in USD.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Currency, Currency
      • currency

        EstimateByTime.Builder currency​(Currency currency)

        The currency of the estimate in USD.

        Parameters:
        currency - The currency of the estimate in USD.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Currency, Currency
      • timePeriod

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.