Class DocumentBuildMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentBuildMode>
com.azure.ai.documentintelligence.models.DocumentBuildMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DocumentBuildMode
extends com.azure.core.util.ExpandableStringEnum<DocumentBuildMode>
Custom document model build mode.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentBuildMode
Support documents with diverse visual templates.static final DocumentBuildMode
Target documents with similar visual templates. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentBuildMode
fromString
(String name) Creates or finds a DocumentBuildMode from its string representation.static Collection
<DocumentBuildMode> values()
Gets known DocumentBuildMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TEMPLATE
Target documents with similar visual templates. -
NEURAL
Support documents with diverse visual templates.
-
-
Constructor Details
-
DocumentBuildMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DocumentBuildMode value.
-
-
Method Details
-
fromString
Creates or finds a DocumentBuildMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentBuildMode.
-
values
Gets known DocumentBuildMode values.- Returns:
- known DocumentBuildMode values.
-
fromString(String)
factory method.