Interface IngestionJobSummary.Builder

  • Method Details

    • dataSourceId

      IngestionJobSummary.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

      IngestionJobSummary.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.
    • ingestionJobId

      IngestionJobSummary.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

      IngestionJobSummary.Builder knowledgeBaseId(String knowledgeBaseId)

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

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

      IngestionJobSummary.Builder startedAt(Instant startedAt)

      The time the data ingestion job started.

      Parameters:
      startedAt - The time the data ingestion job started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statistics

      Contains statistics for the data ingestion job.

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

      Contains statistics for the data ingestion job.

      This is a convenience method that creates an instance of the IngestionJobStatistics.Builder avoiding the need to create one manually via IngestionJobStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statistics(IngestionJobStatistics).

      Parameters:
      statistics - a consumer that will call methods on IngestionJobStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the data ingestion job.

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

      The status of the data ingestion job.

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

      IngestionJobSummary.Builder updatedAt(Instant updatedAt)

      The time the data ingestion job was last updated.

      Parameters:
      updatedAt - The time the data ingestion job was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.