Class CfnBotPropsMixin.DialogCodeHookSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.DialogCodeHookSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.DialogCodeHookSettingProperty>
- Enclosing interface:
CfnBotPropsMixin.DialogCodeHookSettingProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.DialogCodeHookSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.DialogCodeHookSettingProperty>
A builder for
CfnBotPropsMixin.DialogCodeHookSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBotPropsMixin.DialogCodeHookSettingProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBotPropsMixin.DialogCodeHookSettingProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnBotPropsMixin.DialogCodeHookSettingProperty.Builder enabled(Boolean enabled) Sets the value ofCfnBotPropsMixin.DialogCodeHookSettingProperty.getEnabled()- Parameters:
enabled- Enables the dialog code hook so that it processes user requests.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotPropsMixin.DialogCodeHookSettingProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBotPropsMixin.DialogCodeHookSettingProperty.getEnabled()- Parameters:
enabled- Enables the dialog code hook so that it processes user requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.DialogCodeHookSettingProperty>- Returns:
- a new instance of
CfnBotPropsMixin.DialogCodeHookSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-