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(double value)
      Creates an instance of TimeSeriesPoint class.
      Parameters:
      value - the value value to set.
  • 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 double getValue()
      Get the value property: The measurement of that point, should be float.
      Returns:
      the value value.