Class CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty>
- Enclosing interface:
CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableCodeHookInvocation(Boolean enableCodeHookInvocation) enableCodeHookInvocation(IResolvable enableCodeHookInvocation) invocationLabel(String invocationLabel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableCodeHookInvocation
@Stability(Stable) public CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder enableCodeHookInvocation(Boolean enableCodeHookInvocation) Sets the value ofCfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.getEnableCodeHookInvocation()- Parameters:
enableCodeHookInvocation- Indicates whether a Lambda function should be invoked for the dialog.- Returns:
this
-
enableCodeHookInvocation
@Stability(Stable) public CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder enableCodeHookInvocation(IResolvable enableCodeHookInvocation) Sets the value ofCfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.getEnableCodeHookInvocation()- Parameters:
enableCodeHookInvocation- Indicates whether a Lambda function should be invoked for the dialog.- Returns:
this
-
invocationLabel
@Stability(Stable) public CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.Builder invocationLabel(String invocationLabel) Sets the value ofCfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty.getInvocationLabel()- Parameters:
invocationLabel- A label that indicates the dialog step from which the dialog code hook is happening.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty>- Returns:
- a new instance of
CfnBotPropsMixin.ElicitationCodeHookInvocationSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-