public static final class LambdaActionConfig.Builder
extends java.lang.Object
LambdaActionConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LambdaActionConfig |
build()
Builds the configured instance.
|
LambdaActionConfig.Builder |
functionArn(java.lang.String functionArn)
Sets the value of
LambdaActionConfig.getFunctionArn() |
LambdaActionConfig.Builder |
invocationType(java.lang.String invocationType)
Sets the value of
LambdaActionConfig.getInvocationType() |
LambdaActionConfig.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
LambdaActionConfig.getTopicArn() |
public LambdaActionConfig.Builder functionArn(java.lang.String functionArn)
LambdaActionConfig.getFunctionArn()
functionArn
- The Amazon Resource Name (ARN) of the AWS Lambda function. This parameter is required.this
public LambdaActionConfig.Builder invocationType(java.lang.String invocationType)
LambdaActionConfig.getInvocationType()
invocationType
- The invocation type of the AWS Lambda function.this
public LambdaActionConfig.Builder topicArn(java.lang.String topicArn)
LambdaActionConfig.getTopicArn()
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed.this
public LambdaActionConfig build()
LambdaActionConfig
java.lang.NullPointerException
- if any required attribute was not provided