Class CfnBotAliasPropsMixin.CodeHookSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.CodeHookSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasPropsMixin.CodeHookSpecificationProperty>
- Enclosing interface:
CfnBotAliasPropsMixin.CodeHookSpecificationProperty
@Stability(Stable)
public static final class CfnBotAliasPropsMixin.CodeHookSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasPropsMixin.CodeHookSpecificationProperty>
A builder for
CfnBotAliasPropsMixin.CodeHookSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaCodeHook(CfnBotAliasPropsMixin.LambdaCodeHookProperty lambdaCodeHook) Sets the value ofCfnBotAliasPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()lambdaCodeHook(IResolvable lambdaCodeHook) Sets the value ofCfnBotAliasPropsMixin.CodeHookSpecificationProperty.getLambdaCodeHook()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaCodeHook
@Stability(Stable) public CfnBotAliasPropsMixin.CodeHookSpecificationProperty.Builder lambdaCodeHook(IResolvable lambdaCodeHook) Sets the value ofCfnBotAliasPropsMixin.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 CfnBotAliasPropsMixin.CodeHookSpecificationProperty.Builder lambdaCodeHook(CfnBotAliasPropsMixin.LambdaCodeHookProperty lambdaCodeHook) Sets the value ofCfnBotAliasPropsMixin.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<CfnBotAliasPropsMixin.CodeHookSpecificationProperty>- Returns:
- a new instance of
CfnBotAliasPropsMixin.CodeHookSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-