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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteDocumentRequest.BuilderapplicationId(String applicationId)The identifier of the Amazon Q Business application.BatchDeleteDocumentRequest.BuilderdataSourceSyncId(String dataSourceSyncId)The identifier of the data source sync during which the documents were deleted.BatchDeleteDocumentRequest.Builderdocuments(Collection<DeleteDocument> documents)Documents deleted from the Amazon Q Business index.BatchDeleteDocumentRequest.Builderdocuments(Consumer<DeleteDocument.Builder>... documents)Documents deleted from the Amazon Q Business index.BatchDeleteDocumentRequest.Builderdocuments(DeleteDocument... documents)Documents deleted from the Amazon Q Business index.BatchDeleteDocumentRequest.BuilderindexId(String indexId)The identifier of the Amazon Q Business index that contains the documents to delete.BatchDeleteDocumentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchDeleteDocumentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
applicationId
BatchDeleteDocumentRequest.Builder applicationId(String 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
BatchDeleteDocumentRequest.Builder indexId(String 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
BatchDeleteDocumentRequest.Builder documents(Collection<DeleteDocument> 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
BatchDeleteDocumentRequest.Builder documents(DeleteDocument... 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
BatchDeleteDocumentRequest.Builder documents(Consumer<DeleteDocument.Builder>... 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 to#documents(List.) - 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:
#documents(java.util.Collection)
-
dataSourceSyncId
BatchDeleteDocumentRequest.Builder dataSourceSyncId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchDeleteDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-