Class CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.embeddingModelArn(String embeddingModelArn) embeddingModelConfiguration(CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty embeddingModelConfiguration) embeddingModelConfiguration(IResolvable embeddingModelConfiguration) supplementalDataStorageConfiguration(CfnKnowledgeBasePropsMixin.SupplementalDataStorageConfigurationProperty supplementalDataStorageConfiguration) supplementalDataStorageConfiguration(IResolvable supplementalDataStorageConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
embeddingModelArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder embeddingModelArn(String embeddingModelArn) Sets the value ofCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.getEmbeddingModelArn()- Parameters:
embeddingModelArn- The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.- Returns:
this
-
embeddingModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder embeddingModelConfiguration(IResolvable embeddingModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.getEmbeddingModelConfiguration()- Parameters:
embeddingModelConfiguration- The embeddings model configuration details for the vector model used in Knowledge Base.- Returns:
this
-
embeddingModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder embeddingModelConfiguration(CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty embeddingModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.getEmbeddingModelConfiguration()- Parameters:
embeddingModelConfiguration- The embeddings model configuration details for the vector model used in Knowledge Base.- Returns:
this
-
supplementalDataStorageConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder supplementalDataStorageConfiguration(IResolvable supplementalDataStorageConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.getSupplementalDataStorageConfiguration()- Parameters:
supplementalDataStorageConfiguration- If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate .- Returns:
this
-
supplementalDataStorageConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder supplementalDataStorageConfiguration(CfnKnowledgeBasePropsMixin.SupplementalDataStorageConfigurationProperty supplementalDataStorageConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.getSupplementalDataStorageConfiguration()- Parameters:
supplementalDataStorageConfiguration- If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate .- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-