public BatchGetApplicationRevisionsRequest withRevisions(RevisionLocation... revisions) {
        if (this.revisions == null) {
            setRevisions(new com.amazonaws.internal.SdkInternalList<RevisionLocation>(revisions.length));
        }
        for (RevisionLocation ele : revisions) {
            this.revisions.add(ele);
        }
        return this;
    }
<p>
An array of <code>RevisionLocation</code> objects that specify information to get about the application
revisions, including type and location. The maximum number of <code>RevisionLocation</code> objects you can
specify is 25.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRevisions(java.util.Collection)} or {@link #withRevisions(java.util.Collection)} if you want to
override the existing values.
</p>

@param revisions
       An array of <code>RevisionLocation</code> objects that specify information to get about the application
       revisions, including type and location. The maximum number of <code>RevisionLocation</code> objects you
       can specify is 25.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/BatchGetApplicationRevisionsRequest.java