Sdílet prostřednictvím


ComputerVisionOcrError Class

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

public class ComputerVisionOcrError

Details about the API request error.

Method Summary

Modifier and Type Method and Description
Object code()

Get the code value.

String message()

Get the message value.

String requestId()

Get the requestId value.

ComputerVisionOcrError withCode(Object code)

Set the code value.

ComputerVisionOcrError withMessage(String message)

Set the message value.

ComputerVisionOcrError withRequestId(String requestId)

Set the requestId value.

Method Details

code

public Object code()

Get the code value.

Returns:

the code value

message

public String message()

Get the message value.

Returns:

the message value

requestId

public String requestId()

Get the requestId value.

Returns:

the requestId value

withCode

public ComputerVisionOcrError withCode(Object code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ComputerVisionOcrError object itself.

withMessage

public ComputerVisionOcrError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ComputerVisionOcrError object itself.

withRequestId

public ComputerVisionOcrError withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the ComputerVisionOcrError object itself.

Applies to