Class AnomalyDetectorError
java.lang.Object
com.azure.ai.anomalydetector.models.AnomalyDetectorError
Error information returned by the API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code property: The error code.Get the message property: A message explaining the error reported by the service.Set the code property: The error code.setMessage
(String message) Set the message property: A message explaining the error reported by the service.
-
Constructor Details
-
AnomalyDetectorError
public AnomalyDetectorError()
-
-
Method Details
-
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
Get the message property: A message explaining the error reported by the service.- Returns:
- the message value.
-
setMessage
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.
-