Class CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasPropsMixin.LambdaCodeHookProperty>
- Enclosing interface:
CfnBotAliasPropsMixin.LambdaCodeHookProperty
@Stability(Stable)
public static final class CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasPropsMixin.LambdaCodeHookProperty>
A builder for
CfnBotAliasPropsMixin.LambdaCodeHookProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codeHookInterfaceVersion(String codeHookInterfaceVersion) Sets the value ofCfnBotAliasPropsMixin.LambdaCodeHookProperty.getLambdaArn()lambdaArn(IFunctionRef lambdaArn) Sets the value ofCfnBotAliasPropsMixin.LambdaCodeHookProperty.getLambdaArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeHookInterfaceVersion
@Stability(Stable) public CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder codeHookInterfaceVersion(String codeHookInterfaceVersion) - 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 CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder lambdaArn(String lambdaArn) Sets the value ofCfnBotAliasPropsMixin.LambdaCodeHookProperty.getLambdaArn()- Parameters:
lambdaArn- The Amazon Resource Name (ARN) of the Lambda function.- Returns:
this
-
lambdaArn
@Stability(Stable) public CfnBotAliasPropsMixin.LambdaCodeHookProperty.Builder lambdaArn(IFunctionRef lambdaArn) Sets the value ofCfnBotAliasPropsMixin.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<CfnBotAliasPropsMixin.LambdaCodeHookProperty>- Returns:
- a new instance of
CfnBotAliasPropsMixin.LambdaCodeHookProperty - Throws:
NullPointerException- if any required attribute was not provided
-