Interface BatchDeleteDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchDeleteDocumentRequest.Builder,
,BatchDeleteDocumentRequest> KendraRequest.Builder
,SdkBuilder<BatchDeleteDocumentRequest.Builder,
,BatchDeleteDocumentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchDeleteDocumentRequest
public static interface BatchDeleteDocumentRequest.Builder
extends KendraRequest.Builder, SdkPojo, CopyableBuilder<BatchDeleteDocumentRequest.Builder,BatchDeleteDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceSyncJobMetricTarget
(Consumer<DataSourceSyncJobMetricTarget.Builder> dataSourceSyncJobMetricTarget) Sets the value of the DataSourceSyncJobMetricTarget property for this object.dataSourceSyncJobMetricTarget
(DataSourceSyncJobMetricTarget dataSourceSyncJobMetricTarget) Sets the value of the DataSourceSyncJobMetricTarget property for this object.documentIdList
(String... documentIdList) One or more identifiers for documents to delete from the index.documentIdList
(Collection<String> documentIdList) One or more identifiers for documents to delete from the index.The identifier of the index that contains the documents to delete.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexId
The identifier of the index that contains the documents to delete.
- Parameters:
indexId
- The identifier of the index that contains the documents to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdList
One or more identifiers for documents to delete from the index.
- Parameters:
documentIdList
- One or more identifiers for documents to delete from the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdList
One or more identifiers for documents to delete from the index.
- Parameters:
documentIdList
- One or more identifiers for documents to delete from the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceSyncJobMetricTarget
BatchDeleteDocumentRequest.Builder dataSourceSyncJobMetricTarget(DataSourceSyncJobMetricTarget dataSourceSyncJobMetricTarget) Sets the value of the DataSourceSyncJobMetricTarget property for this object.- Parameters:
dataSourceSyncJobMetricTarget
- The new value for the DataSourceSyncJobMetricTarget property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceSyncJobMetricTarget
default BatchDeleteDocumentRequest.Builder dataSourceSyncJobMetricTarget(Consumer<DataSourceSyncJobMetricTarget.Builder> dataSourceSyncJobMetricTarget) Sets the value of the DataSourceSyncJobMetricTarget property for this object. This is a convenience method that creates an instance of theDataSourceSyncJobMetricTarget.Builder
avoiding the need to create one manually viaDataSourceSyncJobMetricTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSourceSyncJobMetricTarget(DataSourceSyncJobMetricTarget)
.- Parameters:
dataSourceSyncJobMetricTarget
- a consumer that will call methods onDataSourceSyncJobMetricTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchDeleteDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchDeleteDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-