Class CfnBotPropsMixin.DataSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.DataSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.DataSourceConfigurationProperty>
- Enclosing interface:
CfnBotPropsMixin.DataSourceConfigurationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.DataSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.DataSourceConfigurationProperty>
A builder for
CfnBotPropsMixin.DataSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockKnowledgeStoreConfiguration(CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty bedrockKnowledgeStoreConfiguration) bedrockKnowledgeStoreConfiguration(IResolvable bedrockKnowledgeStoreConfiguration) build()Builds the configured instance.kendraConfiguration(CfnBotPropsMixin.QnAKendraConfigurationProperty kendraConfiguration) kendraConfiguration(IResolvable kendraConfiguration) opensearchConfiguration(CfnBotPropsMixin.OpensearchConfigurationProperty opensearchConfiguration) opensearchConfiguration(IResolvable opensearchConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockKnowledgeStoreConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder bedrockKnowledgeStoreConfiguration(IResolvable bedrockKnowledgeStoreConfiguration) Sets the value ofCfnBotPropsMixin.DataSourceConfigurationProperty.getBedrockKnowledgeStoreConfiguration()- Parameters:
bedrockKnowledgeStoreConfiguration- Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base .- Returns:
this
-
bedrockKnowledgeStoreConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder bedrockKnowledgeStoreConfiguration(CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty bedrockKnowledgeStoreConfiguration) Sets the value ofCfnBotPropsMixin.DataSourceConfigurationProperty.getBedrockKnowledgeStoreConfiguration()- Parameters:
bedrockKnowledgeStoreConfiguration- Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base .- Returns:
this
-
kendraConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder kendraConfiguration(IResolvable kendraConfiguration) - Parameters:
kendraConfiguration- Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index .- Returns:
this
-
kendraConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder kendraConfiguration(CfnBotPropsMixin.QnAKendraConfigurationProperty kendraConfiguration) - Parameters:
kendraConfiguration- Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index .- Returns:
this
-
opensearchConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder opensearchConfiguration(IResolvable opensearchConfiguration) - Parameters:
opensearchConfiguration- Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains .- Returns:
this
-
opensearchConfiguration
@Stability(Stable) public CfnBotPropsMixin.DataSourceConfigurationProperty.Builder opensearchConfiguration(CfnBotPropsMixin.OpensearchConfigurationProperty opensearchConfiguration) - Parameters:
opensearchConfiguration- Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.DataSourceConfigurationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.DataSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-