Interface IngestionJob.Builder

    • Method Detail

      • dataSourceId

        IngestionJob.Builder dataSourceId​(String dataSourceId)

        The unique identifier of the data source for the data ingestion job.

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

        IngestionJob.Builder description​(String description)

        The description of the data ingestion job.

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

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

        A list of reasons that the data ingestion job failed.

        Parameters:
        failureReasons - A list of reasons that the data ingestion job failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        IngestionJob.Builder failureReasons​(String... failureReasons)

        A list of reasons that the data ingestion job failed.

        Parameters:
        failureReasons - A list of reasons that the data ingestion job failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ingestionJobId

        IngestionJob.Builder ingestionJobId​(String ingestionJobId)

        The unique identifier of the data ingestion job.

        Parameters:
        ingestionJobId - The unique identifier of the data ingestion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

        IngestionJob.Builder knowledgeBaseId​(String knowledgeBaseId)

        The unique identifier of the knowledge for the data ingestion job.

        Parameters:
        knowledgeBaseId - The unique identifier of the knowledge for the data ingestion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        IngestionJob.Builder startedAt​(Instant startedAt)

        The time the data ingestion job started.

        If you stop a data ingestion job, the startedAt time is the time the job was started before the job was stopped.

        Parameters:
        startedAt - The time the data ingestion job started.

        If you stop a data ingestion job, the startedAt time is the time the job was started before the job was stopped.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statistics

        IngestionJob.Builder statistics​(IngestionJobStatistics statistics)

        Contains statistics about the data ingestion job.

        Parameters:
        statistics - Contains statistics about the data ingestion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        IngestionJob.Builder updatedAt​(Instant updatedAt)

        The time the data ingestion job was last updated.

        If you stop a data ingestion job, the updatedAt time is the time the job was stopped.

        Parameters:
        updatedAt - The time the data ingestion job was last updated.

        If you stop a data ingestion job, the updatedAt time is the time the job was stopped.

        Returns:
        Returns a reference to this object so that method calls can be chained together.