Class CfnBotPropsMixin.ExternalSourceSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.ExternalSourceSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.ExternalSourceSettingProperty>
- Enclosing interface:
CfnBotPropsMixin.ExternalSourceSettingProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.ExternalSourceSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.ExternalSourceSettingProperty>
A builder for
CfnBotPropsMixin.ExternalSourceSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.grammarSlotTypeSetting(CfnBotPropsMixin.GrammarSlotTypeSettingProperty grammarSlotTypeSetting) grammarSlotTypeSetting(IResolvable grammarSlotTypeSetting)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
grammarSlotTypeSetting
@Stability(Stable) public CfnBotPropsMixin.ExternalSourceSettingProperty.Builder grammarSlotTypeSetting(IResolvable grammarSlotTypeSetting) - Parameters:
grammarSlotTypeSetting- Settings required for a slot type based on a grammar that you provide.- Returns:
this
-
grammarSlotTypeSetting
@Stability(Stable) public CfnBotPropsMixin.ExternalSourceSettingProperty.Builder grammarSlotTypeSetting(CfnBotPropsMixin.GrammarSlotTypeSettingProperty grammarSlotTypeSetting) - Parameters:
grammarSlotTypeSetting- Settings required for a slot type based on a grammar that you provide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.ExternalSourceSettingProperty>- Returns:
- a new instance of
CfnBotPropsMixin.ExternalSourceSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-