Class CfnApplication.InputLambdaProcessorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplication.InputLambdaProcessorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.InputLambdaProcessorProperty>
- Enclosing interface:
CfnApplication.InputLambdaProcessorProperty
@Stability(Stable)
public static final class CfnApplication.InputLambdaProcessorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.InputLambdaProcessorProperty>
A builder for
CfnApplication.InputLambdaProcessorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceArn
(String resourceArn) Sets the value ofCfnApplication.InputLambdaProcessorProperty.getResourceArn()
Sets the value ofCfnApplication.InputLambdaProcessorProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
@Stability(Stable) public CfnApplication.InputLambdaProcessorProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnApplication.InputLambdaProcessorProperty.getResourceArn()
- Parameters:
resourceArn
- The ARN of the AWS Lambda function that operates on records in the stream. This parameter is required.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 CfnApplication.InputLambdaProcessorProperty.Builder roleArn(String roleArn) Sets the value ofCfnApplication.InputLambdaProcessorProperty.getRoleArn()
- Parameters:
roleArn
- The ARN of the IAM role that is used to access the AWS Lambda function. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.InputLambdaProcessorProperty>
- Returns:
- a new instance of
CfnApplication.InputLambdaProcessorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-