Interface IngestionStreamDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionStreamDetail.Builder,,IngestionStreamDetail> SdkBuilder<IngestionStreamDetail.Builder,,IngestionStreamDetail> SdkPojo
- Enclosing class:
IngestionStreamDetail
-
Method Summary
Modifier and TypeMethodDescriptionactiveAlerts(Collection<IngestionAlert> activeAlerts) Active alerts about operational issues that currently affect the ingestion stream.activeAlerts(Consumer<IngestionAlert.Builder>... activeAlerts) Active alerts about operational issues that currently affect the ingestion stream.activeAlerts(IngestionAlert... activeAlerts) Active alerts about operational issues that currently affect the ingestion stream.The Amazon Resource Name (ARN) of the ingestion stream.collectionId(String collectionId) The unique identifier of the collection that the ingestion stream belongs to.The date and time when the ingestion stream 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 stream reached a terminal failure state, if applicable.failureReasons(Consumer<IngestionFailureReason.Builder>... failureReasons) The reasons that the ingestion stream reached a terminal failure state, if applicable.failureReasons(IngestionFailureReason... failureReasons) The reasons that the ingestion stream reached a terminal failure state, if applicable.The name of the index that documents are ingested into.ingestionStreamId(String ingestionStreamId) The unique identifier of the ingestion stream.ingestionStreamName(String ingestionStreamName) The name of the ingestion stream.The revision number of the ingestion stream.The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source.default IngestionStreamDetail.Buildersource(Consumer<IngestionStreamSource.Builder> source) The Amazon S3 source that the ingestion stream ingests data from.source(IngestionStreamSource source) The Amazon S3 source that the ingestion stream ingests data from.The current processing state of the ingestion stream.state(IngestionState state) The current processing state of the ingestion stream.default IngestionStreamDetail.Builderstatistics(Consumer<IngestionStatistics.Builder> statistics) Processing statistics for the ingestion stream, such as the number of Amazon S3 objects discovered, ingested, and failed.statistics(IngestionStatistics statistics) Processing statistics for the ingestion stream, such as the number of Amazon S3 objects discovered, ingested, and failed.The current lifecycle status of the ingestion stream.status(IngestionStreamStatus status) The current lifecycle status of the ingestion stream.The date and time when the ingestion stream 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
-
ingestionStreamId
The unique identifier of the ingestion stream.
- Parameters:
ingestionStreamId- The unique identifier of the ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the ingestion stream.
- Parameters:
arn- The Amazon Resource Name (ARN) of the ingestion stream.- 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 stream belongs to.
- Parameters:
collectionId- The unique identifier of the collection that the ingestion stream belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStreamName
The name of the ingestion stream.
- Parameters:
ingestionStreamName- The name of the ingestion stream.- 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 stream ingests data from.
- Parameters:
source- The Amazon S3 source that the ingestion stream 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 stream ingests data from.
This is a convenience method that creates an instance of theIngestionStreamSource.Builderavoiding the need to create one manually viaIngestionStreamSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(IngestionStreamSource).- Parameters:
source- a consumer that will call methods onIngestionStreamSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the ingestion stream. For example,
CREATING,ACTIVE, orDELETING.- Parameters:
status- The current lifecycle status of the ingestion stream. For example,CREATING,ACTIVE, orDELETING.- 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 stream. For example,
CREATING,ACTIVE, orDELETING.- Parameters:
status- The current lifecycle status of the ingestion stream. For example,CREATING,ACTIVE, orDELETING.- 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 stream. For example,
STARTINGorINGESTION_IN_PROGRESS.- Parameters:
state- The current processing state of the ingestion stream. For example,STARTINGorINGESTION_IN_PROGRESS.- 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 stream. For example,
STARTINGorINGESTION_IN_PROGRESS.- Parameters:
state- The current processing state of the ingestion stream. For example,STARTINGorINGESTION_IN_PROGRESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistics
Processing statistics for the ingestion stream, such as the number of Amazon S3 objects discovered, ingested, and failed.
- Parameters:
statistics- Processing statistics for the ingestion stream, 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 stream, 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 stream.
- Parameters:
revision- The revision number of the ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the ingestion stream was created.
- Parameters:
createdAt- The date and time when the ingestion stream 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 stream was last updated.
- Parameters:
updatedAt- The date and time when the ingestion stream was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
The reasons that the ingestion stream reached a terminal failure state, if applicable.
- Parameters:
failureReasons- The reasons that the ingestion stream 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 stream reached a terminal failure state, if applicable.
- Parameters:
failureReasons- The reasons that the ingestion stream reached a terminal failure state, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
IngestionStreamDetail.Builder failureReasons(Consumer<IngestionFailureReason.Builder>... failureReasons) The reasons that the ingestion stream 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 stream. Alerts are cleared when the issue is resolved.
- Parameters:
activeAlerts- Active alerts about operational issues that currently affect the ingestion stream. 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 stream. Alerts are cleared when the issue is resolved.
- Parameters:
activeAlerts- Active alerts about operational issues that currently affect the ingestion stream. 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 stream. 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:
-