Class CfnApplicationPropsMixin.InputLambdaProcessorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalytics.CfnApplicationPropsMixin.InputLambdaProcessorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.InputLambdaProcessorProperty>
- Enclosing interface:
CfnApplicationPropsMixin.InputLambdaProcessorProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.InputLambdaProcessorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.InputLambdaProcessorProperty>
A builder for
CfnApplicationPropsMixin.InputLambdaProcessorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceArn(String resourceArn) Sets the value ofCfnApplicationPropsMixin.InputLambdaProcessorProperty.getResourceArn()Sets the value ofCfnApplicationPropsMixin.InputLambdaProcessorProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
@Stability(Stable) public CfnApplicationPropsMixin.InputLambdaProcessorProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnApplicationPropsMixin.InputLambdaProcessorProperty.getResourceArn()- Parameters:
resourceArn- The ARN of the AWS Lambda function that operates on records in the stream.To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda
- Returns:
this
-
roleArn
@Stability(Stable) public CfnApplicationPropsMixin.InputLambdaProcessorProperty.Builder roleArn(String roleArn) Sets the value ofCfnApplicationPropsMixin.InputLambdaProcessorProperty.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role that is used to access the AWS Lambda function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.InputLambdaProcessorProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.InputLambdaProcessorProperty - Throws:
NullPointerException- if any required attribute was not provided
-