public ListPipelineExecutionsResult withPipelineExecutionSummaries(PipelineExecutionSummary... pipelineExecutionSummaries) {
        if (this.pipelineExecutionSummaries == null) {
            setPipelineExecutionSummaries(new java.util.ArrayList<PipelineExecutionSummary>(pipelineExecutionSummaries.length));
        }
        for (PipelineExecutionSummary ele : pipelineExecutionSummaries) {
            this.pipelineExecutionSummaries.add(ele);
        }
        return this;
    }
<p>
A list of executions in the history of a pipeline.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPipelineExecutionSummaries(java.util.Collection)} or
{@link #withPipelineExecutionSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param pipelineExecutionSummaries
       A list of executions in the history of a pipeline.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ListPipelineExecutionsResult.java