Interface TimestampMetricValuePair.Builder

    • Method Detail

      • timestamp

        TimestampMetricValuePair.Builder timestamp​(Instant timestamp)

        A Timestamp that specifies the time the event occurred.

        Parameters:
        timestamp - A Timestamp that specifies the time the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricValue

        TimestampMetricValuePair.Builder metricValue​(Double metricValue)

        Value of the anomalous metric data point at respective Timestamp.

        Parameters:
        metricValue - Value of the anomalous metric data point at respective Timestamp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.