ComputerVisionInnerError Class

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

public class ComputerVisionInnerError

Details about the API request error.

Method Summary

Modifier and Type Method and Description
ComputerVisionInnerErrorCodeValue code()

Get the code value.

String message()

Get the message value.

ComputerVisionInnerError withCode(ComputerVisionInnerErrorCodeValue code)

Set the code value.

ComputerVisionInnerError withMessage(String message)

Set the message value.

Method Details

code

public ComputerVisionInnerErrorCodeValue code()

Get the code value.

Returns:

the code value

message

public String message()

Get the message value.

Returns:

the message value

withCode

public ComputerVisionInnerError withCode(ComputerVisionInnerErrorCodeValue code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ComputerVisionInnerError object itself.

withMessage

public ComputerVisionInnerError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ComputerVisionInnerError object itself.

Applies to