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