Interface BatchDeleteDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchDeleteDocumentRequest.Builder,,BatchDeleteDocumentRequest> QBusinessRequest.Builder,SdkBuilder<BatchDeleteDocumentRequest.Builder,,BatchDeleteDocumentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchDeleteDocumentRequest
public static interface BatchDeleteDocumentRequest.Builder
extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<BatchDeleteDocumentRequest.Builder,BatchDeleteDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the Amazon Q Business application.dataSourceSyncId(String dataSourceSyncId) The identifier of the data source sync during which the documents were deleted.documents(Collection<DeleteDocument> documents) Documents deleted from the Amazon Q Business index.documents(Consumer<DeleteDocument.Builder>... documents) Documents deleted from the Amazon Q Business index.documents(DeleteDocument... documents) Documents deleted from the Amazon Q Business index.The identifier of the Amazon Q Business 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.qbusiness.model.QBusinessRequest.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
-
applicationId
The identifier of the Amazon Q Business application.
- Parameters:
applicationId- The identifier of the Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the Amazon Q Business index that contains the documents to delete.
- Parameters:
indexId- The identifier of the Amazon Q Business index that contains the documents to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
Documents deleted from the Amazon Q Business index.
- Parameters:
documents- Documents deleted from the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
Documents deleted from the Amazon Q Business index.
- Parameters:
documents- Documents deleted from the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
Documents deleted from the Amazon Q Business index.
This is a convenience method that creates an instance of theDeleteDocument.Builderavoiding the need to create one manually viaDeleteDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<DeleteDocument>).- Parameters:
documents- a consumer that will call methods onDeleteDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceSyncId
The identifier of the data source sync during which the documents were deleted.
- Parameters:
dataSourceSyncId- The identifier of the data source sync during which the documents were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-