Class CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockEmbeddingModelConfiguration(IResolvable bedrockEmbeddingModelConfiguration) bedrockEmbeddingModelConfiguration(CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty bedrockEmbeddingModelConfiguration) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockEmbeddingModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.Builder bedrockEmbeddingModelConfiguration(IResolvable bedrockEmbeddingModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.getBedrockEmbeddingModelConfiguration()- Parameters:
bedrockEmbeddingModelConfiguration- The vector configuration details on the Bedrock embeddings model.- Returns:
this
-
bedrockEmbeddingModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.Builder bedrockEmbeddingModelConfiguration(CfnKnowledgeBasePropsMixin.BedrockEmbeddingModelConfigurationProperty bedrockEmbeddingModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty.getBedrockEmbeddingModelConfiguration()- Parameters:
bedrockEmbeddingModelConfiguration- The vector configuration details on the Bedrock embeddings model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-