Interface CreateIngestionJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIngestionJobRequest.Builder,,CreateIngestionJobRequest> OpenSearchServerlessRequest.Builder,SdkBuilder<CreateIngestionJobRequest.Builder,,CreateIngestionJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIngestionJobRequest
-
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.ingestionJobName(String ingestionJobName) The name of the ingestion job.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.source(Consumer<IngestionJobSource.Builder> source) The Amazon S3 source to ingest data from.source(IngestionJobSource source) The Amazon S3 source to ingest data from.tags(Collection<Tag> tags) An arbitrary set of tags (key–value pairs) to associate with the ingestion job.tags(Consumer<Tag.Builder>... tags) An arbitrary set of tags (key–value pairs) to associate with the ingestion job.An arbitrary set of tags (key–value pairs) to associate with the ingestion job.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.
-
ingestionJobName
The name of the ingestion job. The name must be unique within the collection.
- Parameters:
ingestionJobName- The name of the ingestion job. 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.
- Parameters:
source- The Amazon S3 source to ingest data from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon S3 source to ingest 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:
-
tags
An arbitrary set of tags (key–value pairs) to associate with the ingestion job.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the ingestion job.- 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 job.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the ingestion job.- 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 job.
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
CreateIngestionJobRequest.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
CreateIngestionJobRequest.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.
-