Interface RawMetricData.Builder

    • Method Detail

      • metricName

        RawMetricData.Builder metricName​(String metricName)

        The name of the metric.

        Parameters:
        metricName - The name of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        RawMetricData.Builder timestamp​(Instant timestamp)

        The time that the metric was recorded.

        Parameters:
        timestamp - The time that the metric was recorded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • step

        RawMetricData.Builder step​(Integer step)

        The metric step (epoch).

        Parameters:
        step - The metric step (epoch).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        RawMetricData.Builder value​(Double value)

        The metric value.

        Parameters:
        value - The metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.