ComputerVisionError Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ComputerVisionError

public class ComputerVisionError

The API request error.

Method Summary

Modifier and Type Method and 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 Details

code

public ComputerVisionErrorCodes code()

Get the code value.

Returns:

the code value

innererror

public ComputerVisionInnerError innererror()

Get the innererror value.

Returns:

the innererror value

message

public String message()

Get the message value.

Returns:

the message value

withCode

public ComputerVisionError withCode(ComputerVisionErrorCodes code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ComputerVisionError object itself.

withInnererror

public ComputerVisionError withInnererror(ComputerVisionInnerError innererror)

Set the innererror value.

Parameters:

innererror - the innererror value to set

Returns:

the ComputerVisionError object itself.

withMessage

public ComputerVisionError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ComputerVisionError object itself.

Applies to