Interface IngestionJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IngestionJobSummary.Builder,
,IngestionJobSummary> SdkBuilder<IngestionJobSummary.Builder,
,IngestionJobSummary> SdkPojo
- Enclosing class:
IngestionJobSummary
public static interface IngestionJobSummary.Builder
extends SdkPojo, CopyableBuilder<IngestionJobSummary.Builder,IngestionJobSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceId
(String dataSourceId) The unique identifier of the data source in the ingestion job.description
(String description) The description of the ingestion job.ingestionJobId
(String ingestionJobId) The unique identifier of the ingestion job.knowledgeBaseId
(String knowledgeBaseId) The unique identifier of the knowledge base to which the data source is added.The time at which the ingestion job was started.default IngestionJobSummary.Builder
statistics
(Consumer<IngestionJobStatistics.Builder> statistics) Contains statistics for the ingestion job.statistics
(IngestionJobStatistics statistics) Contains statistics for the ingestion job.The status of the ingestion job.status
(IngestionJobStatus status) The status of the ingestion job.The time at which the ingestion job was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataSourceId
The unique identifier of the data source in the ingestion job.
- Parameters:
dataSourceId
- The unique identifier of the data source in the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the ingestion job.
- Parameters:
description
- The description of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionJobId
The unique identifier of the ingestion job.
- Parameters:
ingestionJobId
- The unique identifier of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The unique identifier of the knowledge base to which the data source is added.
- Parameters:
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source is added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time at which the ingestion job was started.
- Parameters:
startedAt
- The time at which the ingestion job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Contains statistics for the ingestion job.
- Parameters:
statistics
- Contains statistics for the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Contains statistics for the ingestion job.
This is a convenience method that creates an instance of theIngestionJobStatistics.Builder
avoiding the need to create one manually viaIngestionJobStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(IngestionJobStatistics)
.- Parameters:
statistics
- a consumer that will call methods onIngestionJobStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the ingestion job.
- Parameters:
status
- The status of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the ingestion job.
- Parameters:
status
- The status of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The time at which the ingestion job was last updated.
- Parameters:
updatedAt
- The time at which the ingestion job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-