DomainType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<DomainType> - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. DomainType
- com.
- com.
public class DomainType
Defines values for DomainType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Domain |
CLASSIFICATION
Static value Classification for DomainType. |
final Domain |
OBJECT_DETECTION
Static value ObjectDetection for DomainType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Domain |
fromString(String name)
Creates or finds a DomainType from its string representation. |
Collection<Domain |
values() |
Field Details
CLASSIFICATION
public static final DomainType CLASSIFICATION= fromString("Classification")
Static value Classification for DomainType.
OBJECT_DETECTION
public static final DomainType OBJECT_DETECTION= fromString("ObjectDetection")
Static value ObjectDetection for DomainType.
Method Details
fromString
public static DomainType fromString(String name)
Creates or finds a DomainType from its string representation.
Parameters:
name
- a name to look for
Returns:
the corresponding DomainType
values
public static Collection
Returns:
known DomainType values