Interface GetKnowledgeBaseDocumentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<GetKnowledgeBaseDocumentsRequest.Builder,
,GetKnowledgeBaseDocumentsRequest> SdkBuilder<GetKnowledgeBaseDocumentsRequest.Builder,
,GetKnowledgeBaseDocumentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetKnowledgeBaseDocumentsRequest
@Mutable
@NotThreadSafe
public static interface GetKnowledgeBaseDocumentsRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<GetKnowledgeBaseDocumentsRequest.Builder,GetKnowledgeBaseDocumentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceId
(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 for which to retrieve information.documentIdentifiers
(Consumer<DocumentIdentifier.Builder>... documentIdentifiers) A list of objects, each of which contains information to identify a document for which to retrieve information.documentIdentifiers
(DocumentIdentifier... documentIdentifiers) A list of objects, each of which contains information to identify a document for which to retrieve information.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
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 Details
-
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
GetKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers) A list of objects, each of which contains information to identify a document for which to retrieve information.
- Parameters:
documentIdentifiers
- A list of objects, each of which contains information to identify a document for which to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdentifiers
GetKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(DocumentIdentifier... documentIdentifiers) A list of objects, each of which contains information to identify a document for which to retrieve information.
- Parameters:
documentIdentifiers
- A list of objects, each of which contains information to identify a document for which to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdentifiers
GetKnowledgeBaseDocumentsRequest.Builder documentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers) A list of objects, each of which contains information to identify a document for which to retrieve information.
This is a convenience method that creates an instance of theDocumentIdentifier.Builder
avoiding the need to create one manually viaDocumentIdentifier.builder()
.When the
Consumer
completes,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
GetKnowledgeBaseDocumentsRequest.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
GetKnowledgeBaseDocumentsRequest.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.
-