public static final class CfnBot.CodeHookSpecificationProperty.Builder
extends java.lang.Object
CfnBot.CodeHookSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.CodeHookSpecificationProperty |
build()
Builds the configured instance.
|
CfnBot.CodeHookSpecificationProperty.Builder |
lambdaCodeHook(CfnBot.LambdaCodeHookProperty lambdaCodeHook)
Sets the value of
CfnBot.CodeHookSpecificationProperty.getLambdaCodeHook() |
CfnBot.CodeHookSpecificationProperty.Builder |
lambdaCodeHook(IResolvable lambdaCodeHook)
Sets the value of
CfnBot.CodeHookSpecificationProperty.getLambdaCodeHook() |
public CfnBot.CodeHookSpecificationProperty.Builder lambdaCodeHook(IResolvable lambdaCodeHook)
CfnBot.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 CfnBot.CodeHookSpecificationProperty.Builder lambdaCodeHook(CfnBot.LambdaCodeHookProperty lambdaCodeHook)
CfnBot.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 CfnBot.CodeHookSpecificationProperty build()
CfnBot.CodeHookSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided