Class CfnPipelineProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnPipelineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelineProps>
- Enclosing interface:
CfnPipelineProps
@Stability(Stable)
public static final class CfnPipelineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelineProps>
A builder for
CfnPipelineProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.pipelineActivities
(List<? extends Object> pipelineActivities) Sets the value ofCfnPipelineProps.getPipelineActivities()
pipelineActivities
(IResolvable pipelineActivities) Sets the value ofCfnPipelineProps.getPipelineActivities()
pipelineName
(String pipelineName) Sets the value ofCfnPipelineProps.getPipelineName()
Sets the value ofCfnPipelineProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineActivities
@Stability(Stable) public CfnPipelineProps.Builder pipelineActivities(IResolvable pipelineActivities) Sets the value ofCfnPipelineProps.getPipelineActivities()
- Parameters:
pipelineActivities
- A list of "PipelineActivity" objects. This parameter is required. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.The list can be 2-25 PipelineActivity objects and must contain both a
channel
and adatastore
activity. Each entry in the list must contain only one activity, for example:pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
- Returns:
this
-
pipelineActivities
@Stability(Stable) public CfnPipelineProps.Builder pipelineActivities(List<? extends Object> pipelineActivities) Sets the value ofCfnPipelineProps.getPipelineActivities()
- Parameters:
pipelineActivities
- A list of "PipelineActivity" objects. This parameter is required. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.The list can be 2-25 PipelineActivity objects and must contain both a
channel
and adatastore
activity. Each entry in the list must contain only one activity, for example:pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
- Returns:
this
-
pipelineName
Sets the value ofCfnPipelineProps.getPipelineName()
- Parameters:
pipelineName
- The name of the pipeline.- Returns:
this
-
tags
Sets the value ofCfnPipelineProps.getTags()
- Parameters:
tags
- Metadata which can be used to manage the pipeline. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipelineProps>
- Returns:
- a new instance of
CfnPipelineProps
- Throws:
NullPointerException
- if any required attribute was not provided
-