Class CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.QnAIntentConfigurationProperty>
- Enclosing interface:
CfnBotPropsMixin.QnAIntentConfigurationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.QnAIntentConfigurationProperty>
A builder for
CfnBotPropsMixin.QnAIntentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockModelConfiguration(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelConfiguration) bedrockModelConfiguration(IResolvable bedrockModelConfiguration) build()Builds the configured instance.dataSourceConfiguration(CfnBotPropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) dataSourceConfiguration(IResolvable dataSourceConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockModelConfiguration
@Stability(Stable) public CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder bedrockModelConfiguration(IResolvable bedrockModelConfiguration) - Parameters:
bedrockModelConfiguration- the value to be set.- Returns:
this
-
bedrockModelConfiguration
@Stability(Stable) public CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder bedrockModelConfiguration(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelConfiguration) - Parameters:
bedrockModelConfiguration- the value to be set.- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder dataSourceConfiguration(IResolvable dataSourceConfiguration) - Parameters:
dataSourceConfiguration- Contains details about the configuration of the data source used for theAMAZON.QnAIntent.- Returns:
this
-
dataSourceConfiguration
@Stability(Stable) public CfnBotPropsMixin.QnAIntentConfigurationProperty.Builder dataSourceConfiguration(CfnBotPropsMixin.DataSourceConfigurationProperty dataSourceConfiguration) - Parameters:
dataSourceConfiguration- Contains details about the configuration of the data source used for theAMAZON.QnAIntent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.QnAIntentConfigurationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.QnAIntentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-