Interface BatchDeleteDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchDeleteDocumentRequest.Builder,
,BatchDeleteDocumentRequest> QBusinessRequest.Builder
,SdkBuilder<BatchDeleteDocumentRequest.Builder,
,BatchDeleteDocumentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchDeleteDocumentRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaDeleteDocument.builder()
.When the
Consumer
completes,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.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.
-