Class TimeSeriesPoint

java.lang.Object
com.azure.ai.anomalydetector.models.TimeSeriesPoint

public final class TimeSeriesPoint extends Object
The definition of input timeseries points.
  • Constructor Details

    • TimeSeriesPoint

      public TimeSeriesPoint()
  • Method Details

    • getTimestamp

      public OffsetDateTime getTimestamp()
      Get the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).
      Returns:
      the timestamp value.
    • setTimestamp

      public TimeSeriesPoint setTimestamp(OffsetDateTime timestamp)
      Set the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).
      Parameters:
      timestamp - the timestamp value to set.
      Returns:
      the TimeSeriesPoint object itself.
    • getValue

      public float getValue()
      Get the value property: The measurement of that point, should be float.
      Returns:
      the value value.
    • setValue

      public TimeSeriesPoint setValue(float value)
      Set the value property: The measurement of that point, should be float.
      Parameters:
      value - the value value to set.
      Returns:
      the TimeSeriesPoint object itself.