Class BuildModelOptions

java.lang.Object
com.azure.ai.formrecognizer.administration.models.BuildModelOptions

public final class BuildModelOptions extends Object
Options that may be passed using build model APIs on Document Administration client.
  • Constructor Details

    • BuildModelOptions

      public BuildModelOptions()
  • Method Details

    • getDescription

      public String getDescription()
      Get the model description.
      Returns:
      the model description value.
    • setDescription

      public BuildModelOptions setDescription(String description)
      Set the model description.
      Parameters:
      description - the model description value to set.
      Returns:
      the BuildModelOptions object itself.
    • getPrefix

      public String getPrefix()
      Get the case-sensitive prefix string to filter documents in the source path for training.
      Returns:
      the case-sensitive prefix string to filter documents for training.
    • setPrefix

      public BuildModelOptions setPrefix(String prefix)
      Set the case-sensitive prefix string to filter documents in the source path for training.
      Parameters:
      prefix - the prefix value to set.
      Returns:
      the BuildModelOptions object itself.
    • getTags

      public Map<String,String> getTags()
      Get the user defined attributes associated with the model.
      Returns:
      the tags value.
    • setTags

      public BuildModelOptions setTags(Map<String,String> tags)
      Set the user defined attributes associated with the model.
      Parameters:
      tags - the tags value to set.
      Returns:
      the BuildModelOptions object itself.
    • getModelId

      public String getModelId()
      Get the unique model identifier for the model.
      Returns:
      the modelId
    • setModelId

      public BuildModelOptions setModelId(String modelId)
      Set the unique model identifier for the model. If not specified, a model ID will be created for you.
      Parameters:
      modelId - a unique model identifier
      Returns:
      the BuildModelOptions object itself.