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).float
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).setValue
(float value) Set the value property: The measurement of that point, should be float.
-
Constructor Details
-
TimeSeriesPoint
public TimeSeriesPoint()
-
-
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 float getValue()Get the value property: The measurement of that point, should be float.- Returns:
- the value value.
-
setValue
Set the value property: The measurement of that point, should be float.- Parameters:
value
- the value value to set.- Returns:
- the TimeSeriesPoint object itself.
-