Class CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parsingPrompt(CfnKnowledgeBasePropsMixin.ParsingPromptProperty parsingPrompt) parsingPrompt(IResolvable parsingPrompt)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder modelArn(String modelArn) Sets the value ofCfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.getModelArn()- Parameters:
modelArn- The model ARN of the Bedrock foundation model.- Returns:
this
-
parsingPrompt
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder parsingPrompt(IResolvable parsingPrompt) Sets the value ofCfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.getParsingPrompt()- Parameters:
parsingPrompt- The parsing prompt of the Bedrock foundation model configuration.- Returns:
this
-
parsingPrompt
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.Builder parsingPrompt(CfnKnowledgeBasePropsMixin.ParsingPromptProperty parsingPrompt) Sets the value ofCfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty.getParsingPrompt()- Parameters:
parsingPrompt- The parsing prompt of the Bedrock foundation model configuration.- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-