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