code: public DescribeCapacityReservationsResult withCapacityReservations(CapacityReservation... capacityReservations) {
          if (this.capacityReservations == null) {
              setCapacityReservations(new com.amazonaws.internal.SdkInternalList<CapacityReservation>(capacityReservations.length));
          }
          for (CapacityReservation ele : capacityReservations) {
              this.capacityReservations.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the Capacity Reservations.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCapacityReservations(java.util.Collection)} or {@link #withCapacityReservations(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param capacityReservations
  Information about the Capacity Reservations.
  @return Returns a reference to this object so that method calls can be chained together.