Interface CreateIngestionStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIngestionStreamRequest.Builder,,CreateIngestionStreamRequest> OpenSearchServerlessRequest.Builder,SdkBuilder<CreateIngestionStreamRequest.Builder,,CreateIngestionStreamRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIngestionStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier to ensure idempotency of the request.collectionId(String collectionId) The unique identifier of the collection to ingest data into.failureIndexName(String failureIndexName) The name of the index where documents that fail to be ingested are recorded.The name of the index to ingest documents into.ingestionStreamName(String ingestionStreamName) The name of the ingestion stream.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source.source(Consumer<IngestionStreamSource.Builder> source) The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.source(IngestionStreamSource source) The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.tags(Collection<Tag> tags) An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.tags(Consumer<Tag.Builder>... tags) An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
collectionId
The unique identifier of the collection to ingest data into.
- Parameters:
collectionId- The unique identifier of the collection to ingest data into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStreamName
The name of the ingestion stream. The name must be unique within the collection.
- Parameters:
ingestionStreamName- The name of the ingestion stream. The name must be unique within the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the index to ingest documents into.
- Parameters:
indexName- The name of the index to ingest documents 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 to ingest data from, including the Amazon SQS queue that receives S3 event notifications.
- Parameters:
source- The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.
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. The role must be in the same account as the collection.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source. The role must be in the same account as the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIngestionStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIngestionStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-