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