Interface DocumentClassificationConfig.Builder

    • Method Detail

      • labels

        DocumentClassificationConfig.Builder labels​(Collection<String> labels)

        One or more labels to associate with the custom classifier.

        Parameters:
        labels - One or more labels to associate with the custom classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labels

        DocumentClassificationConfig.Builder labels​(String... labels)

        One or more labels to associate with the custom classifier.

        Parameters:
        labels - One or more labels to associate with the custom classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.