Class TrainingFileFilter

java.lang.Object
com.azure.ai.formrecognizer.training.models.TrainingFileFilter

public final class TrainingFileFilter extends Object
The TrainingFileFilter model.
  • Constructor Details

    • TrainingFileFilter

      public TrainingFileFilter()
  • Method Details

    • 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 TrainingFileFilter 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 TrainingFileFilter object itself.
    • isSubfoldersIncluded

      public Boolean isSubfoldersIncluded()
      Get the flag to indicate if sub folders within the set of prefix folders will also need to be included when searching for content to be preprocessed. Not supported if training with labels.
      Returns:
      the includeSubfolders value.
    • setSubfoldersIncluded

      public TrainingFileFilter setSubfoldersIncluded(boolean includeSubfolders)
      Set the includeSubfolders flag to indicate if sub folders are also to be included when searching for content to be preprocessed. Not supported if training with labels.
      Parameters:
      includeSubfolders - the includeSubfolders value to set.
      Returns:
      the TrainingFileFilter object itself.