Class CfnPipeline.LambdaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnPipeline.LambdaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.LambdaProperty>
- Enclosing interface:
CfnPipeline.LambdaProperty
@Stability(Stable)
public static final class CfnPipeline.LambdaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.LambdaProperty>
A builder for
CfnPipeline.LambdaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipeline.LambdaProperty.getBatchSize()
build()
Builds the configured instance.lambdaName
(String lambdaName) Sets the value ofCfnPipeline.LambdaProperty.getLambdaName()
Sets the value ofCfnPipeline.LambdaProperty.getName()
Sets the value ofCfnPipeline.LambdaProperty.getNext()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
Sets the value ofCfnPipeline.LambdaProperty.getBatchSize()
- Parameters:
batchSize
- The number of messages passed to the Lambda function for processing. This parameter is required. 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
Sets the value ofCfnPipeline.LambdaProperty.getLambdaName()
- Parameters:
lambdaName
- The name of the Lambda function that is run on the message. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPipeline.LambdaProperty.getName()
- Parameters:
name
- The name of the 'lambda' activity. This parameter is required.- Returns:
this
-
next
Sets the value ofCfnPipeline.LambdaProperty.getNext()
- Parameters:
next
- The next activity in the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.LambdaProperty>
- Returns:
- a new instance of
CfnPipeline.LambdaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-