Class CfnTopicRule.LambdaActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.LambdaActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.LambdaActionProperty>
- Enclosing interface:
CfnTopicRule.LambdaActionProperty
@Stability(Stable)
public static final class CfnTopicRule.LambdaActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.LambdaActionProperty>
A builder for
CfnTopicRule.LambdaActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.functionArn
(String functionArn) Sets the value ofCfnTopicRule.LambdaActionProperty.getFunctionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
Sets the value ofCfnTopicRule.LambdaActionProperty.getFunctionArn()
- Parameters:
functionArn
- The ARN of the Lambda function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.LambdaActionProperty>
- Returns:
- a new instance of
CfnTopicRule.LambdaActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-