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