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