Interface UsageQuantity.Builder

    • Method Detail

      • startHour

        UsageQuantity.Builder startHour​(Instant startHour)

        The start hour of the usage period.

        Parameters:
        startHour - The start hour of the usage period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        UsageQuantity.Builder unit​(String unit)

        The unit of measurement for the usage quantity.

        Parameters:
        unit - The unit of measurement for the usage quantity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • amount

        UsageQuantity.Builder amount​(Double amount)

        The numeric value of the usage quantity.

        Parameters:
        amount - The numeric value of the usage quantity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.