ContentCategoryDefinition Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. ContentCategoryDefinition
- com.
Implements
public final class ContentCategoryDefinition
implements JsonSerializable<ContentCategoryDefinition>
Content category definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ContentCategoryDefinition() |
Creates an instance of Content |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
|
Content |
getAnalyzer()
Get the analyzer property: Optional inline definition of analyzer used to process the content. |
| String |
getAnalyzerId()
Get the analyzer |
| String |
getDescription()
Get the description property: The description of the category. |
|
Content |
setAnalyzer(ContentAnalyzer analyzer)
Set the analyzer property: Optional inline definition of analyzer used to process the content. |
|
Content |
setAnalyzerId(String analyzerId)
Set the analyzer |
|
Content |
setDescription(String description)
Set the description property: The description of the category. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ContentCategoryDefinition
public ContentCategoryDefinition()
Creates an instance of ContentCategoryDefinition class.
Method Details
fromJson
public static ContentCategoryDefinition fromJson(JsonReader jsonReader)
Reads an instance of ContentCategoryDefinition from the JsonReader.
Parameters:
Returns:
Throws:
getAnalyzer
public ContentAnalyzer getAnalyzer()
Get the analyzer property: Optional inline definition of analyzer used to process the content.
Returns:
getAnalyzerId
public String getAnalyzerId()
Get the analyzerId property: Optional analyzer used to process the content.
Returns:
getDescription
public String getDescription()
Get the description property: The description of the category.
Returns:
setAnalyzer
public ContentCategoryDefinition setAnalyzer(ContentAnalyzer analyzer)
Set the analyzer property: Optional inline definition of analyzer used to process the content.
Parameters:
Returns:
setAnalyzerId
public ContentCategoryDefinition setAnalyzerId(String analyzerId)
Set the analyzerId property: Optional analyzer used to process the content.
Parameters:
Returns:
setDescription
public ContentCategoryDefinition setDescription(String description)
Set the description property: The description of the category.
Parameters:
Returns: