Class TimeSeriesPoint
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.TimeSeriesPoint
-
public final class TimeSeriesPoint extends Object
The definition of input timeseries points.
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getTimestamp()
Get 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.TimeSeriesPoint
setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Optional argument, timestamp of a data point (ISO8601 format).TimeSeriesPoint
setValue(float value)
Set the value property: The measurement of that point, should be float.
-
-
-
Method Detail
-
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.
-
-