Class AnomalyState
java.lang.Object
com.azure.ai.anomalydetector.models.AnomalyState
The AnomalyState model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errors property: Error message for the current timestamp.Get the timestamp property: timestamp.getValue()
Get the value property: The value property.setErrors
(List<ErrorResponse> errors) Set the errors property: Error message for the current timestamp.setTimestamp
(OffsetDateTime timestamp) Set the timestamp property: timestamp.setValue
(AnomalyValue value) Set the value property: The value property.
-
Constructor Details
-
AnomalyState
public AnomalyState()
-
-
Method Details
-
getTimestamp
Get the timestamp property: timestamp.- Returns:
- the timestamp value.
-
setTimestamp
Set the timestamp property: timestamp.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the AnomalyState object itself.
-
getValue
Get the value property: The value property.- Returns:
- the value value.
-
setValue
Set the value property: The value property.- Parameters:
value
- the value value to set.- Returns:
- the AnomalyState object itself.
-
getErrors
Get the errors property: Error message for the current timestamp.- Returns:
- the errors value.
-
setErrors
Set the errors property: Error message for the current timestamp.- Parameters:
errors
- the errors value to set.- Returns:
- the AnomalyState object itself.
-