Interface DataSource.Builder

    • Method Detail

      • createdAt

        DataSource.Builder createdAt​(Instant createdAt)

        The time at which the data source was created.

        Parameters:
        createdAt - The time at which the data source was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataDeletionPolicy

        DataSource.Builder dataDeletionPolicy​(String dataDeletionPolicy)

        The data deletion policy for a data source.

        Parameters:
        dataDeletionPolicy - The data deletion policy for a data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataDeletionPolicy, DataDeletionPolicy
      • dataDeletionPolicy

        DataSource.Builder dataDeletionPolicy​(DataDeletionPolicy dataDeletionPolicy)

        The data deletion policy for a data source.

        Parameters:
        dataDeletionPolicy - The data deletion policy for a data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataDeletionPolicy, DataDeletionPolicy
      • dataSourceConfiguration

        DataSource.Builder dataSourceConfiguration​(DataSourceConfiguration dataSourceConfiguration)

        Contains details about how the data source is stored.

        Parameters:
        dataSourceConfiguration - Contains details about how the data source is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceId

        DataSource.Builder dataSourceId​(String dataSourceId)

        The unique identifier of the data source.

        Parameters:
        dataSourceId - The unique identifier of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DataSource.Builder description​(String description)

        The description of the data source.

        Parameters:
        description - The description of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        DataSource.Builder failureReasons​(Collection<String> failureReasons)

        The detailed reasons on the failure to delete a data source.

        Parameters:
        failureReasons - The detailed reasons on the failure to delete a data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        DataSource.Builder failureReasons​(String... failureReasons)

        The detailed reasons on the failure to delete a data source.

        Parameters:
        failureReasons - The detailed reasons on the failure to delete a data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

        DataSource.Builder knowledgeBaseId​(String knowledgeBaseId)

        The unique identifier of the knowledge base to which the data source belongs.

        Parameters:
        knowledgeBaseId - The unique identifier of the knowledge base to which the data source belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        DataSource.Builder name​(String name)

        The name of the data source.

        Parameters:
        name - The name of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverSideEncryptionConfiguration

        DataSource.Builder serverSideEncryptionConfiguration​(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)

        Contains details about the configuration of the server-side encryption.

        Parameters:
        serverSideEncryptionConfiguration - Contains details about the configuration of the server-side encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DataSource.Builder status​(String status)

        The status of the data source. The following statuses are possible:

        • Available – The data source has been created and is ready for ingestion into the knowledge base.

        • Deleting – The data source is being deleted.

        Parameters:
        status - The status of the data source. The following statuses are possible:

        • Available – The data source has been created and is ready for ingestion into the knowledge base.

        • Deleting – The data source is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • status

        DataSource.Builder status​(DataSourceStatus status)

        The status of the data source. The following statuses are possible:

        • Available – The data source has been created and is ready for ingestion into the knowledge base.

        • Deleting – The data source is being deleted.

        Parameters:
        status - The status of the data source. The following statuses are possible:

        • Available – The data source has been created and is ready for ingestion into the knowledge base.

        • Deleting – The data source is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • updatedAt

        DataSource.Builder updatedAt​(Instant updatedAt)

        The time at which the data source was last updated.

        Parameters:
        updatedAt - The time at which the data source was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vectorIngestionConfiguration

        DataSource.Builder vectorIngestionConfiguration​(VectorIngestionConfiguration vectorIngestionConfiguration)

        Contains details about how to ingest the documents in the data source.

        Parameters:
        vectorIngestionConfiguration - Contains details about how to ingest the documents in the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.