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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetKnowledgeBaseDocumentsRequest.BuilderdataSourceId(String dataSourceId)The unique identifier of the data source that contains the documents.GetKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)A list of objects, each of which contains information to identify a document for which to retrieve information.GetKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers)A list of objects, each of which contains information to identify a document for which to retrieve information.GetKnowledgeBaseDocumentsRequest.BuilderdocumentIdentifiers(DocumentIdentifier... documentIdentifiers)A list of objects, each of which contains information to identify a document for which to retrieve information.GetKnowledgeBaseDocumentsRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the knowledge base that is connected to the data source.GetKnowledgeBaseDocumentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetKnowledgeBaseDocumentsRequest.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
GetKnowledgeBaseDocumentsRequest.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
GetKnowledgeBaseDocumentsRequest.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.
-
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.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
GetKnowledgeBaseDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetKnowledgeBaseDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-