ComposeDocumentModelOptions Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. ComposeDocumentModelOptions
- com.
Implements
public final class ComposeDocumentModelOptions
implements JsonSerializable<ComposeDocumentModelOptions>
Request body to create a composed document model from component document models.
Constructor Summary
| Constructor | Description |
|---|---|
| ComposeDocumentModelOptions(String modelId, String classifierId, Map<String,DocumentTypeDetails> documentTypes) |
Creates an instance of Compose |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Compose |
fromJson(JsonReader jsonReader)
Reads an instance of Compose |
| String |
getClassifierId()
Get the classifier |
| String |
getDescription()
Get the description property: Document model description. |
|
Map<String,Document |
getDocumentTypes()
Get the document |
| String |
getModelId()
Get the model |
|
Split |
getSplit()
Get the split property: File splitting behavior. |
| Map<String,String> |
getTags()
Get the tags property: List of key-value tag attributes associated with the document model. |
|
Compose |
setDescription(String description)
Set the description property: Document model description. |
|
Compose |
setSplit(SplitMode split)
Set the split property: File splitting behavior. |
|
Compose |
setTags(Map<String,String> tags)
Set the tags property: List of key-value tag attributes associated with the document model. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ComposeDocumentModelOptions
public ComposeDocumentModelOptions(String modelId, String classifierId, Map<String,DocumentTypeDetails> documentTypes)
Creates an instance of ComposeDocumentModelOptions class.
Parameters:
Method Details
fromJson
public static ComposeDocumentModelOptions fromJson(JsonReader jsonReader)
Reads an instance of ComposeDocumentModelOptions from the JsonReader.
Parameters:
Returns:
Throws:
getClassifierId
public String getClassifierId()
Get the classifierId property: Custom classifier to split and classify the input file.
Returns:
getDescription
public String getDescription()
Get the description property: Document model description.
Returns:
getDocumentTypes
public Map<String,DocumentTypeDetails> getDocumentTypes()
Get the documentTypes property: Dictionary mapping supported docTypes to the corresponding document models.
Returns:
getModelId
public String getModelId()
Get the modelId property: Unique document model name.
Returns:
getSplit
public SplitMode getSplit()
Get the split property: File splitting behavior.
Returns:
getTags
public Map<String,String> getTags()
Get the tags property: List of key-value tag attributes associated with the document model.
Returns:
setDescription
public ComposeDocumentModelOptions setDescription(String description)
Set the description property: Document model description.
Parameters:
Returns:
setSplit
public ComposeDocumentModelOptions setSplit(SplitMode split)
Set the split property: File splitting behavior.
Parameters:
Returns:
setTags
public ComposeDocumentModelOptions setTags(Map<String,String> tags)
Set the tags property: List of key-value tag attributes associated with the document model.
Parameters:
Returns: