Interface IngestionJobDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionJobDetail.Builder,,IngestionJobDetail> SdkBuilder<IngestionJobDetail.Builder,,IngestionJobDetail> SdkPojo
- Enclosing class:
IngestionJobDetail
-
Method Summary
Modifier and TypeMethodDescriptionactiveAlerts(Collection<IngestionAlert> activeAlerts) Active alerts about operational issues that currently affect the ingestion job.activeAlerts(Consumer<IngestionAlert.Builder>... activeAlerts) Active alerts about operational issues that currently affect the ingestion job.activeAlerts(IngestionAlert... activeAlerts) Active alerts about operational issues that currently affect the ingestion job.The Amazon Resource Name (ARN) of the ingestion job.collectionId(String collectionId) The unique identifier of the collection that the ingestion job belongs to.The date and time when the ingestion job was created.failureIndexName(String failureIndexName) The name of the index where documents that fail to be ingested are recorded.failureReasons(Collection<IngestionFailureReason> failureReasons) The reasons that the ingestion job reached a terminal failure state, if applicable.failureReasons(Consumer<IngestionFailureReason.Builder>... failureReasons) The reasons that the ingestion job reached a terminal failure state, if applicable.failureReasons(IngestionFailureReason... failureReasons) The reasons that the ingestion job reached a terminal failure state, if applicable.The name of the index that documents are ingested into.ingestionJobId(String ingestionJobId) The unique identifier of the ingestion job.ingestionJobName(String ingestionJobName) The name of the ingestion job.The revision number of the ingestion job.default IngestionJobDetail.Buildersource(Consumer<IngestionJobSource.Builder> source) The Amazon S3 source that the ingestion job ingests data from.source(IngestionJobSource source) The Amazon S3 source that the ingestion job ingests data from.The current processing state of the ingestion job.state(IngestionState state) The current processing state of the ingestion job.default IngestionJobDetail.Builderstatistics(Consumer<IngestionStatistics.Builder> statistics) Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.statistics(IngestionStatistics statistics) Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.The current lifecycle status of the ingestion job.status(IngestionJobStatus status) The current lifecycle status of the ingestion job.The date and time when the 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
-
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.
-
arn
The Amazon Resource Name (ARN) of the ingestion job.
- Parameters:
arn- The Amazon Resource Name (ARN) of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionId
The unique identifier of the collection that the ingestion job belongs to.
- Parameters:
collectionId- The unique identifier of the collection that the ingestion job belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionJobName
The name of the ingestion job.
- Parameters:
ingestionJobName- The name of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the index that documents are ingested into.
- Parameters:
indexName- The name of the index that documents are ingested into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureIndexName
The name of the index where documents that fail to be ingested are recorded.
- Parameters:
failureIndexName- The name of the index where documents that fail to be ingested are recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon S3 source that the ingestion job ingests data from.
- Parameters:
source- The Amazon S3 source that the ingestion job ingests data from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon S3 source that the ingestion job ingests data from.
This is a convenience method that creates an instance of theIngestionJobSource.Builderavoiding the need to create one manually viaIngestionJobSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(IngestionJobSource).- Parameters:
source- a consumer that will call methods onIngestionJobSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle status of the ingestion job. For example,
CREATING,ACTIVE,COMPLETED, orCANCELLED.- Parameters:
status- The current lifecycle status of the ingestion job. For example,CREATING,ACTIVE,COMPLETED, orCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle status of the ingestion job. For example,
CREATING,ACTIVE,COMPLETED, orCANCELLED.- Parameters:
status- The current lifecycle status of the ingestion job. For example,CREATING,ACTIVE,COMPLETED, orCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current processing state of the ingestion job. For example,
SCANNING,INGESTION_IN_PROGRESS, orINGESTION_COMPLETE.- Parameters:
state- The current processing state of the ingestion job. For example,SCANNING,INGESTION_IN_PROGRESS, orINGESTION_COMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current processing state of the ingestion job. For example,
SCANNING,INGESTION_IN_PROGRESS, orINGESTION_COMPLETE.- Parameters:
state- The current processing state of the ingestion job. For example,SCANNING,INGESTION_IN_PROGRESS, orINGESTION_COMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistics
Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.
- Parameters:
statistics- Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.
This is a convenience method that creates an instance of theIngestionStatistics.Builderavoiding the need to create one manually viaIngestionStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(IngestionStatistics).- Parameters:
statistics- a consumer that will call methods onIngestionStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revision
The revision number of the ingestion job.
- Parameters:
revision- The revision number of the ingestion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the ingestion job was created.
- Parameters:
createdAt- The date and time when the ingestion job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the ingestion job was last updated.
- Parameters:
updatedAt- The date and time when the ingestion job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
The reasons that the ingestion job reached a terminal failure state, if applicable.
- Parameters:
failureReasons- The reasons that the ingestion job reached a terminal failure state, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
The reasons that the ingestion job reached a terminal failure state, if applicable.
- Parameters:
failureReasons- The reasons that the ingestion job reached a terminal failure state, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
IngestionJobDetail.Builder failureReasons(Consumer<IngestionFailureReason.Builder>... failureReasons) The reasons that the ingestion job reached a terminal failure state, if applicable.
This is a convenience method that creates an instance of theIngestionFailureReason.Builderavoiding the need to create one manually viaIngestionFailureReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureReasons(List<IngestionFailureReason>).- Parameters:
failureReasons- a consumer that will call methods onIngestionFailureReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activeAlerts
Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.
- Parameters:
activeAlerts- Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeAlerts
Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.
- Parameters:
activeAlerts- Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeAlerts
Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.
This is a convenience method that creates an instance of theIngestionAlert.Builderavoiding the need to create one manually viaIngestionAlert.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactiveAlerts(List<IngestionAlert>).- Parameters:
activeAlerts- a consumer that will call methods onIngestionAlert.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-