Class AnomalyState

java.lang.Object
com.azure.ai.anomalydetector.models.AnomalyState

public final class AnomalyState extends Object
The AnomalyState model.
  • Constructor Details

    • AnomalyState

      public AnomalyState()
  • Method Details

    • 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.