Class AnomalyDetectorError

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

public final class AnomalyDetectorError extends Object
Error information returned by the API.
  • Constructor Details

    • AnomalyDetectorError

      public AnomalyDetectorError()
  • Method Details

    • getCode

      public AnomalyDetectorErrorCodes getCode()
      Get the code property: The error code.
      Returns:
      the code value.
    • setCode

      Set the code property: The error code.
      Parameters:
      code - the code value to set.
      Returns:
      the AnomalyDetectorError object itself.
    • getMessage

      public String getMessage()
      Get the message property: A message explaining the error reported by the service.
      Returns:
      the message value.
    • setMessage

      public AnomalyDetectorError setMessage(String message)
      Set the message property: A message explaining the error reported by the service.
      Parameters:
      message - the message value to set.
      Returns:
      the AnomalyDetectorError object itself.