Class TimeSeriesPoint
java.lang.Object
com.azure.ai.anomalydetector.models.TimeSeriesPoint
The definition of input timeseries points.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).double
getValue()
Get the value property: The measurement of that point, should be float.setTimestamp
(OffsetDateTime timestamp) Set the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).
-
Constructor Details
-
TimeSeriesPoint
public TimeSeriesPoint(double value) Creates an instance of TimeSeriesPoint class.- Parameters:
value
- the value value to set.
-
-
Method Details
-
getTimestamp
Get the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).- Returns:
- the timestamp value.
-
setTimestamp
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.
-