public static final class CfnBotAlias.CodeHookSpecificationProperty.Builder
extends java.lang.Object
CfnBotAlias.CodeHookSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBotAlias.CodeHookSpecificationProperty |
build()
Builds the configured instance.
|
CfnBotAlias.CodeHookSpecificationProperty.Builder |
lambdaCodeHook(CfnBotAlias.LambdaCodeHookProperty lambdaCodeHook)
Sets the value of
CfnBotAlias.CodeHookSpecificationProperty.getLambdaCodeHook() |
CfnBotAlias.CodeHookSpecificationProperty.Builder |
lambdaCodeHook(IResolvable lambdaCodeHook)
Sets the value of
CfnBotAlias.CodeHookSpecificationProperty.getLambdaCodeHook() |
public CfnBotAlias.CodeHookSpecificationProperty.Builder lambdaCodeHook(IResolvable lambdaCodeHook)
CfnBotAlias.CodeHookSpecificationProperty.getLambdaCodeHook()
lambdaCodeHook
- Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot. This parameter is required.this
public CfnBotAlias.CodeHookSpecificationProperty.Builder lambdaCodeHook(CfnBotAlias.LambdaCodeHookProperty lambdaCodeHook)
CfnBotAlias.CodeHookSpecificationProperty.getLambdaCodeHook()
lambdaCodeHook
- Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot. This parameter is required.this
public CfnBotAlias.CodeHookSpecificationProperty build()
CfnBotAlias.CodeHookSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided