ComputerVisionErrorCodes Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ComputerVisionErrorCodes> - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ComputerVisionErrorCodes
- com.
- com.
public class ComputerVisionErrorCodes
Defines values for ComputerVisionErrorCodes.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Computer |
INTERNAL_SERVER_ERROR
Static value InternalServerError for ComputerVisionErrorCodes. |
final Computer |
INVALID_ARGUMENT
Static value InvalidArgument for ComputerVisionErrorCodes. |
final Computer |
INVALID_REQUEST
Static value InvalidRequest for ComputerVisionErrorCodes. |
final Computer |
SERVICE_UNAVAILABLE
Static value ServiceUnavailable for ComputerVisionErrorCodes. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Computer |
fromString(String name)
Creates or finds a ComputerVisionErrorCodes from its string representation. |
Collection<Computer |
values() |
Field Details
INTERNAL_SERVER_ERROR
public static final ComputerVisionErrorCodes INTERNAL_SERVER_ERROR= fromString("InternalServerError")
Static value InternalServerError for ComputerVisionErrorCodes.
INVALID_ARGUMENT
public static final ComputerVisionErrorCodes INVALID_ARGUMENT= fromString("InvalidArgument")
Static value InvalidArgument for ComputerVisionErrorCodes.
INVALID_REQUEST
public static final ComputerVisionErrorCodes INVALID_REQUEST= fromString("InvalidRequest")
Static value InvalidRequest for ComputerVisionErrorCodes.
SERVICE_UNAVAILABLE
public static final ComputerVisionErrorCodes SERVICE_UNAVAILABLE= fromString("ServiceUnavailable")
Static value ServiceUnavailable for ComputerVisionErrorCodes.
Method Details
fromString
public static ComputerVisionErrorCodes fromString(String name)
Creates or finds a ComputerVisionErrorCodes from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java