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