public PipelineExecutionSummary withSourceRevisions(SourceRevision... sourceRevisions) {
        if (this.sourceRevisions == null) {
            setSourceRevisions(new java.util.ArrayList<SourceRevision>(sourceRevisions.length));
        }
        for (SourceRevision ele : sourceRevisions) {
            this.sourceRevisions.add(ele);
        }
        return this;
    }
<p>
A list of the source artifact revisions that initiated a pipeline execution.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSourceRevisions(java.util.Collection)} or {@link #withSourceRevisions(java.util.Collection)} if you
want to override the existing values.
</p>

@param sourceRevisions
       A list of the source artifact revisions that initiated a pipeline execution.
@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/PipelineExecutionSummary.java