Class LambdaActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ses.LambdaActionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaActionConfig>
- Enclosing interface:
LambdaActionConfig
@Stability(Stable)
public static final class LambdaActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaActionConfig>
A builder for
LambdaActionConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.functionArn
(String functionArn) Sets the value ofLambdaActionConfig.getFunctionArn()
invocationType
(String invocationType) Sets the value ofLambdaActionConfig.getInvocationType()
Sets the value ofLambdaActionConfig.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
Sets the value ofLambdaActionConfig.getFunctionArn()
- Parameters:
functionArn
- The Amazon Resource Name (ARN) of the AWS Lambda function. This parameter is required.- Returns:
this
-
invocationType
Sets the value ofLambdaActionConfig.getInvocationType()
- Parameters:
invocationType
- The invocation type of the AWS Lambda function.- Returns:
this
-
topicArn
Sets the value ofLambdaActionConfig.getTopicArn()
- Parameters:
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LambdaActionConfig>
- Returns:
- a new instance of
LambdaActionConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-