Class ModelDescription
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ModelDescription
-
public class ModelDescription extends Object
An object describing supported model by name and categories.
-
-
Constructor Summary
Constructors Constructor Description ModelDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
categories()
Get the categories value.String
name()
Get the name value.ModelDescription
withCategories(List<String> categories)
Set the categories value.ModelDescription
withName(String name)
Set the name value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public ModelDescription withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the ModelDescription object itself.
-
withCategories
public ModelDescription withCategories(List<String> categories)
Set the categories value.- Parameters:
categories
- the categories value to set- Returns:
- the ModelDescription object itself.
-
-