Interface IngestionJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionJob.Builder,IngestionJob>,SdkBuilder<IngestionJob.Builder,IngestionJob>,SdkPojo
- Enclosing class:
- IngestionJob
public static interface IngestionJob.Builder extends SdkPojo, CopyableBuilder<IngestionJob.Builder,IngestionJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IngestionJob.BuilderdataSourceId(String dataSourceId)The unique identifier of the ingested data source.IngestionJob.Builderdescription(String description)The description of the ingestion job.IngestionJob.BuilderfailureReasons(String... failureReasons)A list of reasons that the ingestion job failed.IngestionJob.BuilderfailureReasons(Collection<String> failureReasons)A list of reasons that the ingestion job failed.IngestionJob.BuilderingestionJobId(String ingestionJobId)The unique identifier of the ingestion job.IngestionJob.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the knowledge base to which the data source is being added.IngestionJob.BuilderstartedAt(Instant startedAt)The time at which the ingestion job started.default IngestionJob.Builderstatistics(Consumer<IngestionJobStatistics.Builder> statistics)Contains statistics about the ingestion job.IngestionJob.Builderstatistics(IngestionJobStatistics statistics)Contains statistics about the ingestion job.IngestionJob.Builderstatus(String status)The status of the ingestion job.IngestionJob.Builderstatus(IngestionJobStatus status)The status of the ingestion job.IngestionJob.BuilderupdatedAt(Instant updatedAt)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 Detail
-
dataSourceId
IngestionJob.Builder dataSourceId(String dataSourceId)
The unique identifier of the ingested data source.
- Parameters:
dataSourceId- The unique identifier of the ingested data source.- 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 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.
-
failureReasons
IngestionJob.Builder failureReasons(Collection<String> failureReasons)
A list of reasons that the ingestion job failed.
- Parameters:
failureReasons- A list of reasons that the 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 ingestion job failed.
- Parameters:
failureReasons- A list of reasons that the 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 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
IngestionJob.Builder knowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source is being added.
- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base to which the data source is being added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
IngestionJob.Builder startedAt(Instant startedAt)
The time at which the ingestion job started.
- Parameters:
startedAt- The time at which the ingestion job started.- 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 ingestion job.
- Parameters:
statistics- Contains statistics about the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default IngestionJob.Builder statistics(Consumer<IngestionJobStatistics.Builder> statistics)
Contains statistics about the ingestion job.
This is a convenience method that creates an instance of theIngestionJobStatistics.Builderavoiding the need to create one manually viaIngestionJobStatistics.builder().When the
Consumercompletes,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:
statistics(IngestionJobStatistics)
-
status
IngestionJob.Builder status(String 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:
IngestionJobStatus,IngestionJobStatus
-
status
IngestionJob.Builder status(IngestionJobStatus 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:
IngestionJobStatus,IngestionJobStatus
-
updatedAt
IngestionJob.Builder updatedAt(Instant 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.
-
-