Interface DocumentContent.Builder

    • Method Detail

      • dataSourceType

        DocumentContent.Builder dataSourceType​(String dataSourceType)

        The type of data source that is connected to the knowledge base to which to ingest this document.

        Parameters:
        dataSourceType - The type of data source that is connected to the knowledge base to which to ingest this document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentDataSourceType, ContentDataSourceType
      • dataSourceType

        DocumentContent.Builder dataSourceType​(ContentDataSourceType dataSourceType)

        The type of data source that is connected to the knowledge base to which to ingest this document.

        Parameters:
        dataSourceType - The type of data source that is connected to the knowledge base to which to ingest this document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentDataSourceType, ContentDataSourceType
      • custom

        DocumentContent.Builder custom​(CustomContent custom)

        Contains information about the content to ingest into a knowledge base connected to a custom data source.

        Parameters:
        custom - Contains information about the content to ingest into a knowledge base connected to a custom data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3

        DocumentContent.Builder s3​(S3Content s3)

        Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source

        Parameters:
        s3 - Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source
        Returns:
        Returns a reference to this object so that method calls can be chained together.