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