Class CustomVisionError
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.customvision.training.models.CustomVisionError
-
public class CustomVisionError extends Object
The CustomVisionError model.
-
-
Constructor Summary
Constructors Constructor Description CustomVisionError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
code
public CustomVisionErrorCodes code()
Get the code value.- Returns:
- the code value
-
withCode
public CustomVisionError withCode(CustomVisionErrorCodes code)
Set the code value.- Parameters:
code
- the code value to set- Returns:
- the CustomVisionError object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public CustomVisionError withMessage(String message)
Set the message value.- Parameters:
message
- the message value to set- Returns:
- the CustomVisionError object itself.
-
-