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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDataSourceSyncJobMetricTarget.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-