code: 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;
      }
docs: <p>
  Information to get about the application revisions, including type and location.
  </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
  Information to get about the application revisions, including type and location.
  @return Returns a reference to this object so that method calls can be chained together.