Class CfnBotPropsMixin.CodeHookSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.CodeHookSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.CodeHookSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.CodeHookSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.CodeHookSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.CodeHookSpecificationProperty>
A builder for
CfnBotPropsMixin.CodeHookSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaCodeHook(CfnBotPropsMixin.LambdaCodeHookProperty lambdaCodeHook) Sets the value ofCfnBotPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()lambdaCodeHook(IResolvable lambdaCodeHook) Sets the value ofCfnBotPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaCodeHook
@Stability(Stable) public CfnBotPropsMixin.CodeHookSpecificationProperty.Builder lambdaCodeHook(IResolvable lambdaCodeHook) Sets the value ofCfnBotPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()- Parameters:
lambdaCodeHook- Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.- Returns:
this
-
lambdaCodeHook
@Stability(Stable) public CfnBotPropsMixin.CodeHookSpecificationProperty.Builder lambdaCodeHook(CfnBotPropsMixin.LambdaCodeHookProperty lambdaCodeHook) Sets the value ofCfnBotPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()- Parameters:
lambdaCodeHook- Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.CodeHookSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.CodeHookSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-