Interface DocumentClassificationConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>, SdkBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>, SdkPojo
Enclosing class:
DocumentClassificationConfig

public static interface DocumentClassificationConfig.Builder extends SdkPojo, CopyableBuilder<DocumentClassificationConfig.Builder,DocumentClassificationConfig>
  • Method Details

    • mode

      Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

      Parameters:
      mode - Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

      Parameters:
      mode - Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.