Interface DeleteKnowledgeBaseDocumentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<DeleteKnowledgeBaseDocumentsRequest.Builder,DeleteKnowledgeBaseDocumentsRequest>,SdkBuilder<DeleteKnowledgeBaseDocumentsRequest.Builder,DeleteKnowledgeBaseDocumentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteKnowledgeBaseDocumentsRequest
@Mutable @NotThreadSafe public static interface DeleteKnowledgeBaseDocumentsRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<DeleteKnowledgeBaseDocumentsRequest.Builder,DeleteKnowledgeBaseDocumentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteKnowledgeBaseDocumentsRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.DeleteKnowledgeBaseDocumentsRequest.BuilderdataSourceId(String dataSourceId)The unique identifier of the data source that contains the documents.DeleteKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)A list of objects, each of which contains information to identify a document to delete.DeleteKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers)A list of objects, each of which contains information to identify a document to delete.DeleteKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(DocumentIdentifier... documentIdentifiers)A list of objects, each of which contains information to identify a document to delete.DeleteKnowledgeBaseDocumentsRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the knowledge base that is connected to the data source.DeleteKnowledgeBaseDocumentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteKnowledgeBaseDocumentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
knowledgeBaseId
DeleteKnowledgeBaseDocumentsRequest.Builder knowledgeBaseId(String 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.
-
dataSourceId
DeleteKnowledgeBaseDocumentsRequest.Builder dataSourceId(String 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.
-
clientToken
DeleteKnowledgeBaseDocumentsRequest.Builder clientToken(String 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.
-
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 to#documentIdentifiers(List.) - 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:
#documentIdentifiers(java.util.Collection)
-
overrideConfiguration
DeleteKnowledgeBaseDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteKnowledgeBaseDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-