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 Details

    • TEMPLATE

      public static final DocumentBuildMode TEMPLATE
      Target documents with similar visual templates.
    • NEURAL

      public static final DocumentBuildMode NEURAL
      Support documents with diverse visual templates.
  • Constructor Details

    • DocumentBuildMode

      @Deprecated public DocumentBuildMode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of DocumentBuildMode value.
  • Method Details

    • fromString

      public static DocumentBuildMode fromString(String name)
      Creates or finds a DocumentBuildMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding DocumentBuildMode.
    • values

      public static Collection<DocumentBuildMode> values()
      Gets known DocumentBuildMode values.
      Returns:
      known DocumentBuildMode values.