Interface MetricValue.Builder

    • Method Detail

      • amount

        MetricValue.Builder amount​(String amount)

        The actual number that represents the metric.

        Parameters:
        amount - The actual number that represents the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        MetricValue.Builder unit​(String unit)

        The unit that the metric is given in.

        Parameters:
        unit - The unit that the metric is given in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.