Class CfnBotPropsMixin.LambdaCodeHookProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.LambdaCodeHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.LambdaCodeHookProperty>
- Enclosing interface:
CfnBotPropsMixin.LambdaCodeHookProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.LambdaCodeHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.LambdaCodeHookProperty>
A builder for
CfnBotPropsMixin.LambdaCodeHookProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codeHookInterfaceVersion(String codeHookInterfaceVersion) Sets the value ofCfnBotPropsMixin.LambdaCodeHookProperty.getCodeHookInterfaceVersion()Sets the value ofCfnBotPropsMixin.LambdaCodeHookProperty.getLambdaArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeHookInterfaceVersion
@Stability(Stable) public CfnBotPropsMixin.LambdaCodeHookProperty.Builder codeHookInterfaceVersion(String codeHookInterfaceVersion) Sets the value ofCfnBotPropsMixin.LambdaCodeHookProperty.getCodeHookInterfaceVersion()- Parameters:
codeHookInterfaceVersion- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.- Returns:
this
-
lambdaArn
@Stability(Stable) public CfnBotPropsMixin.LambdaCodeHookProperty.Builder lambdaArn(String lambdaArn) Sets the value ofCfnBotPropsMixin.LambdaCodeHookProperty.getLambdaArn()- Parameters:
lambdaArn- The Amazon Resource Name (ARN) of the Lambda function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.LambdaCodeHookProperty>- Returns:
- a new instance of
CfnBotPropsMixin.LambdaCodeHookProperty - Throws:
NullPointerException- if any required attribute was not provided
-