Interface DeleteKnowledgeBaseDocumentsRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<DeleteKnowledgeBaseDocumentsRequest.Builder,,DeleteKnowledgeBaseDocumentsRequest> SdkBuilder<DeleteKnowledgeBaseDocumentsRequest.Builder,,DeleteKnowledgeBaseDocumentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 DeleteKnowledgeBaseDocumentsRequest
- 
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.dataSourceId(String dataSourceId) The unique identifier of the data source that contains the documents.documentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.documentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.documentIdentifiers(DocumentIdentifier... documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge base that is connected to the data source.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.services.bedrockagent.model.BedrockAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
- Parameters:
 clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
dataSourceId
The unique identifier of the data source that contains the documents.
- Parameters:
 dataSourceId- The unique identifier of the data source that contains the documents.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
documentIdentifiers
DeleteKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.
- Parameters:
 documentIdentifiers- A list of objects, each of which contains information to identify a document to delete.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
documentIdentifiers
DeleteKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(DocumentIdentifier... documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.
- Parameters:
 documentIdentifiers- A list of objects, each of which contains information to identify a document to delete.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
documentIdentifiers
DeleteKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers) A list of objects, each of which contains information to identify a document to delete.
This is a convenience method that creates an instance of theDocumentIdentifier.Builderavoiding the need to create one manually viaDocumentIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentIdentifiers(List<DocumentIdentifier>).- Parameters:
 documentIdentifiers- a consumer that will call methods onDocumentIdentifier.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
knowledgeBaseId
The unique identifier of the knowledge base that is connected to the data source.
- Parameters:
 knowledgeBaseId- The unique identifier of the knowledge base that is connected to the data source.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
DeleteKnowledgeBaseDocumentsRequest.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
DeleteKnowledgeBaseDocumentsRequest.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.
 
 
 -