Class CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty>
- Enclosing interface:
CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) bedrockModelConfiguration(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelConfiguration) bedrockModelConfiguration(IResolvable bedrockModelConfiguration) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockKnowledgeBaseArn
@Stability(Stable) public CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder bedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) Sets the value ofCfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.getBedrockKnowledgeBaseArn()- Parameters:
bedrockKnowledgeBaseArn- the value to be set.- Returns:
this
-
bedrockModelConfiguration
@Stability(Stable) public CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder bedrockModelConfiguration(IResolvable bedrockModelConfiguration) Sets the value ofCfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.getBedrockModelConfiguration()- Parameters:
bedrockModelConfiguration- the value to be set.- Returns:
this
-
bedrockModelConfiguration
@Stability(Stable) public CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.Builder bedrockModelConfiguration(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelConfiguration) Sets the value ofCfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty.getBedrockModelConfiguration()- Parameters:
bedrockModelConfiguration- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.BedrockAgentIntentKnowledgeBaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-