Class CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.ElicitationCodeHookInvocationSettingProperty>
- Enclosing interface:
CfnBot.ElicitationCodeHookInvocationSettingProperty
@Stability(Stable)
public static final class CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.ElicitationCodeHookInvocationSettingProperty>
A builder for
CfnBot.ElicitationCodeHookInvocationSettingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableCodeHookInvocation
(Boolean enableCodeHookInvocation) enableCodeHookInvocation
(IResolvable enableCodeHookInvocation) invocationLabel
(String invocationLabel) Sets the value ofCfnBot.ElicitationCodeHookInvocationSettingProperty.getInvocationLabel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableCodeHookInvocation
@Stability(Stable) public CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder enableCodeHookInvocation(Boolean enableCodeHookInvocation) - Parameters:
enableCodeHookInvocation
- Indicates whether a Lambda function should be invoked for the dialog. This parameter is required.- Returns:
this
-
enableCodeHookInvocation
@Stability(Stable) public CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder enableCodeHookInvocation(IResolvable enableCodeHookInvocation) - Parameters:
enableCodeHookInvocation
- Indicates whether a Lambda function should be invoked for the dialog. This parameter is required.- Returns:
this
-
invocationLabel
@Stability(Stable) public CfnBot.ElicitationCodeHookInvocationSettingProperty.Builder invocationLabel(String invocationLabel) Sets the value ofCfnBot.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.ElicitationCodeHookInvocationSettingProperty>
- Returns:
- a new instance of
CfnBot.ElicitationCodeHookInvocationSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-