Class BuildDocumentClassifierRequest
java.lang.Object
com.azure.ai.documentintelligence.models.BuildDocumentClassifierRequest
Request body to build a new custom document classifier.
-
Constructor Summary
ConstructorDescriptionBuildDocumentClassifierRequest
(String classifierId, Map<String, ClassifierDocumentTypeDetails> docTypes) Creates an instance of BuildDocumentClassifierRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the baseClassifierId property: Base classifierId on top of which to train the classifier.Get the classifierId property: Unique document classifier name.Get the description property: Document classifier description.Get the docTypes property: List of document types to classify against.setBaseClassifierId
(String baseClassifierId) Set the baseClassifierId property: Base classifierId on top of which to train the classifier.setDescription
(String description) Set the description property: Document classifier description.
-
Constructor Details
-
BuildDocumentClassifierRequest
public BuildDocumentClassifierRequest(String classifierId, Map<String, ClassifierDocumentTypeDetails> docTypes) Creates an instance of BuildDocumentClassifierRequest class.- Parameters:
classifierId
- the classifierId value to set.docTypes
- the docTypes value to set.
-
-
Method Details
-
getClassifierId
Get the classifierId property: Unique document classifier name.- Returns:
- the classifierId value.
-
getDescription
Get the description property: Document classifier description.- Returns:
- the description value.
-
setDescription
Set the description property: Document classifier description.- Parameters:
description
- the description value to set.- Returns:
- the BuildDocumentClassifierRequest object itself.
-
getBaseClassifierId
Get the baseClassifierId property: Base classifierId on top of which to train the classifier.- Returns:
- the baseClassifierId value.
-
setBaseClassifierId
Set the baseClassifierId property: Base classifierId on top of which to train the classifier.- Parameters:
baseClassifierId
- the baseClassifierId value to set.- Returns:
- the BuildDocumentClassifierRequest object itself.
-
getDocTypes
Get the docTypes property: List of document types to classify against.- Returns:
- the docTypes value.
-