Class CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty>
- Enclosing interface:
CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) bkbExactResponseFields(CfnBotPropsMixin.BKBExactResponseFieldsProperty bkbExactResponseFields) bkbExactResponseFields(IResolvable bkbExactResponseFields) build()Builds the configured instance.exactResponse(Boolean exactResponse) exactResponse(IResolvable exactResponse)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockKnowledgeBaseArn
@Stability(Stable) public CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder bedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) Sets the value ofCfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.getBedrockKnowledgeBaseArn()- Parameters:
bedrockKnowledgeBaseArn- The base ARN of the knowledge base used.- Returns:
this
-
bkbExactResponseFields
@Stability(Stable) public CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder bkbExactResponseFields(IResolvable bkbExactResponseFields) Sets the value ofCfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.getBkbExactResponseFields()- Parameters:
bkbExactResponseFields- the value to be set.- Returns:
this
-
bkbExactResponseFields
@Stability(Stable) public CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder bkbExactResponseFields(CfnBotPropsMixin.BKBExactResponseFieldsProperty bkbExactResponseFields) Sets the value ofCfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.getBkbExactResponseFields()- Parameters:
bkbExactResponseFields- the value to be set.- Returns:
this
-
exactResponse
@Stability(Stable) public CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder exactResponse(Boolean exactResponse) - Parameters:
exactResponse- Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.- Returns:
this
-
exactResponse
@Stability(Stable) public CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder exactResponse(IResolvable exactResponse) - Parameters:
exactResponse- Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-