Class CfnPipelinePropsMixin.LambdaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnPipelinePropsMixin.LambdaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.LambdaProperty>
- Enclosing interface:
CfnPipelinePropsMixin.LambdaProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.LambdaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.LambdaProperty>
A builder for
CfnPipelinePropsMixin.LambdaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipelinePropsMixin.LambdaProperty.getBatchSize()build()Builds the configured instance.lambdaName(String lambdaName) Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getLambdaName()lambdaName(IFunctionRef lambdaName) Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getLambdaName()Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getName()Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getNext()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getBatchSize()- Parameters:
batchSize- The number of messages passed to the Lambda function for processing. The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.- Returns:
this
-
lambdaName
@Stability(Stable) public CfnPipelinePropsMixin.LambdaProperty.Builder lambdaName(String lambdaName) Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getLambdaName()- Parameters:
lambdaName- The name of the Lambda function that is run on the message.- Returns:
this
-
lambdaName
@Stability(Stable) public CfnPipelinePropsMixin.LambdaProperty.Builder lambdaName(IFunctionRef lambdaName) Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getLambdaName()- Parameters:
lambdaName- The name of the Lambda function that is run on the message.- Returns:
this
-
name
Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getName()- Parameters:
name- The name of the 'lambda' activity.- Returns:
this
-
next
Sets the value ofCfnPipelinePropsMixin.LambdaProperty.getNext()- Parameters:
next- The next activity in the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.LambdaProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.LambdaProperty - Throws:
NullPointerException- if any required attribute was not provided
-