public ListPipelinesResult withPipelines(PipelineSummary... pipelines) {
        if (this.pipelines == null) {
            setPipelines(new java.util.ArrayList<PipelineSummary>(pipelines.length));
        }
        for (PipelineSummary ele : pipelines) {
            this.pipelines.add(ele);
        }
        return this;
    }
<p>
A list of all existing Data Prepper pipelines.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPipelines(java.util.Collection)} or {@link #withPipelines(java.util.Collection)} if you want to
override the existing values.
</p>

@param pipelines
       A list of all existing Data Prepper pipelines.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-osis/src/main/java/com/amazonaws/services/osis/model/ListPipelinesResult.java