Interface IngestionJob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionJob.Builder,,IngestionJob> SdkBuilder<IngestionJob.Builder,,IngestionJob> SdkPojo
- Enclosing class:
IngestionJob
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceId(String dataSourceId) The unique identifier of the data source for the data ingestion job.description(String description) The description of the data ingestion job.failureReasons(String... failureReasons) A list of reasons that the data ingestion job failed.failureReasons(Collection<String> failureReasons) A list of reasons that the data ingestion job failed.ingestionJobId(String ingestionJobId) The unique identifier of the data ingestion job.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge for the data ingestion job.The time the data ingestion job started.default IngestionJob.Builderstatistics(Consumer<IngestionJobStatistics.Builder> statistics) Contains statistics about the data ingestion job.statistics(IngestionJobStatistics statistics) Contains statistics about the data ingestion job.The status of the data ingestion job.status(IngestionJobStatus status) The status of the data ingestion job.The time the data ingestion job was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
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.
-
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:
-
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.
-
statistics
Contains statistics about the data 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:
-
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
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.
-
startedAt
The time the data ingestion job started.
If you stop a data ingestion job, the
startedAttime 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
startedAttime 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.
-
updatedAt
The time the data ingestion job was last updated.
If you stop a data ingestion job, the
updatedAttime 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
updatedAttime is the time the job was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-