code: public PurchaseScheduledInstancesRequest withPurchaseRequests(PurchaseRequest... purchaseRequests) {
          if (this.purchaseRequests == null) {
              setPurchaseRequests(new com.amazonaws.internal.SdkInternalList<PurchaseRequest>(purchaseRequests.length));
          }
          for (PurchaseRequest ele : purchaseRequests) {
              this.purchaseRequests.add(ele);
          }
          return this;
      }
docs: <p>
  The purchase requests.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPurchaseRequests(java.util.Collection)} or {@link #withPurchaseRequests(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param purchaseRequests
  The purchase requests.
  @return Returns a reference to this object so that method calls can be chained together.