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