Interface UpdatePipelineRequest.Builder

    • Method Detail

      • pipelineName

        UpdatePipelineRequest.Builder pipelineName​(String pipelineName)

        The name of the pipeline to update.

        Parameters:
        pipelineName - The name of the pipeline to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineActivities

        UpdatePipelineRequest.Builder pipelineActivities​(Collection<PipelineActivity> pipelineActivities)

        A list of PipelineActivity objects. 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": { ... } }, ... ]

        Parameters:
        pipelineActivities - A list of PipelineActivity objects. 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:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineActivities

        UpdatePipelineRequest.Builder pipelineActivities​(PipelineActivity... pipelineActivities)

        A list of PipelineActivity objects. 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": { ... } }, ... ]

        Parameters:
        pipelineActivities - A list of PipelineActivity objects. 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:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineActivities

        UpdatePipelineRequest.Builder pipelineActivities​(Consumer<PipelineActivity.Builder>... pipelineActivities)

        A list of PipelineActivity objects. 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": { ... } }, ... ]

        This is a convenience method that creates an instance of the PipelineActivity.Builder avoiding the need to create one manually via PipelineActivity.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #pipelineActivities(List).

        Parameters:
        pipelineActivities - a consumer that will call methods on PipelineActivity.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #pipelineActivities(java.util.Collection)