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 Details

    • Builder

      public Builder()
  • Method Details

    • pipelineActivities

      @Stability(Stable) public CfnPipelineProps.Builder pipelineActivities(IResolvable pipelineActivities)
      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 a datastore 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)
      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 a datastore activity. Each entry in the list must contain only one activity, for example:

      pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]

      Returns:
      this
    • pipelineName

      @Stability(Stable) public CfnPipelineProps.Builder pipelineName(String pipelineName)
      Parameters:
      pipelineName - The name of the pipeline.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPipelineProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnPipelineProps.getTags()
      Parameters:
      tags - Metadata which can be used to manage the pipeline. For more information, see Tag .
      Returns:
      this
    • build

      @Stability(Stable) public CfnPipelineProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPipelineProps>
      Returns:
      a new instance of CfnPipelineProps
      Throws:
      NullPointerException - if any required attribute was not provided