Category Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. Category
- com.
public class Category
An object describing identified category.
Method Summary
Modifier and Type | Method and Description |
---|---|
Category |
detail()
Get the detail value. |
String |
name()
Get the name value. |
double |
score()
Get the score value. |
Category |
withDetail(CategoryDetail detail)
Set the detail value. |
Category |
withName(String name)
Set the name value. |
Category |
withScore(double score)
Set the score value. |
Method Details
detail
public CategoryDetail detail()
Get the detail value.
Returns:
name
public String name()
Get the name value.
Returns:
score
public double score()
Get the score value.
Returns:
withDetail
public Category withDetail(CategoryDetail detail)
Set the detail value.
Parameters:
Returns:
withName
public Category withName(String name)
Set the name value.
Parameters:
Returns:
withScore
public Category withScore(double score)
Set the score value.
Parameters:
Returns:
Applies to
Azure SDK for Java