Interface CreatePipelineRequest.Builder

    • Method Detail

      • pipelineName

        CreatePipelineRequest.Builder pipelineName​(String pipelineName)

        The name of the pipeline.

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

        CreatePipelineRequest.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 unctions 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 unctions 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

        CreatePipelineRequest.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 unctions 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 unctions 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

        CreatePipelineRequest.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 unctions 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)
      • tags

        CreatePipelineRequest.Builder tags​(Collection<Tag> tags)

        Metadata which can be used to manage the pipeline.

        Parameters:
        tags - Metadata which can be used to manage the pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreatePipelineRequest.Builder tags​(Tag... tags)

        Metadata which can be used to manage the pipeline.

        Parameters:
        tags - Metadata which can be used to manage the pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreatePipelineRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Metadata which can be used to manage the pipeline.

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

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

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