CustomVisionError Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.prediction.models.CustomVisionError

public class CustomVisionError

The CustomVisionError model.

Method Summary

Modifier and Type Method and Description
CustomVisionErrorCodes code()

Get the code value.

String message()

Get the message value.

CustomVisionError withCode(CustomVisionErrorCodes code)

Set the code value.

CustomVisionError withMessage(String message)

Set the message value.

Method Details

code

public CustomVisionErrorCodes code()

Get the code value.

Returns:

the code value

message

public String message()

Get the message value.

Returns:

the message value

withCode

public CustomVisionError withCode(CustomVisionErrorCodes code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the CustomVisionError object itself.

withMessage

public CustomVisionError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the CustomVisionError object itself.

Applies to