Class ComputerVisionError
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ComputerVisionError
-
public class ComputerVisionError extends Object
The API request error.
-
-
Constructor Summary
Constructors Constructor Description ComputerVisionError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputerVisionErrorCodes
code()
Get the code value.ComputerVisionInnerError
innererror()
Get the innererror value.String
message()
Get the message value.ComputerVisionError
withCode(ComputerVisionErrorCodes code)
Set the code value.ComputerVisionError
withInnererror(ComputerVisionInnerError innererror)
Set the innererror value.ComputerVisionError
withMessage(String message)
Set the message value.
-
-
-
Method Detail
-
code
public ComputerVisionErrorCodes code()
Get the code value.- Returns:
- the code value
-
withCode
public ComputerVisionError withCode(ComputerVisionErrorCodes code)
Set the code value.- Parameters:
code
- the code value to set- Returns:
- the ComputerVisionError object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public ComputerVisionError withMessage(String message)
Set the message value.- Parameters:
message
- the message value to set- Returns:
- the ComputerVisionError object itself.
-
innererror
public ComputerVisionInnerError innererror()
Get the innererror value.- Returns:
- the innererror value
-
withInnererror
public ComputerVisionError withInnererror(ComputerVisionInnerError innererror)
Set the innererror value.- Parameters:
innererror
- the innererror value to set- Returns:
- the ComputerVisionError object itself.
-
-