code: public DescribeCapacityReservationsRequest withCapacityReservationIds(String... capacityReservationIds) {
          if (this.capacityReservationIds == null) {
              setCapacityReservationIds(new com.amazonaws.internal.SdkInternalList<String>(capacityReservationIds.length));
          }
          for (String ele : capacityReservationIds) {
              this.capacityReservationIds.add(ele);
          }
          return this;
      }
docs: <p>
  The ID of the Capacity Reservation.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCapacityReservationIds(java.util.Collection)} or
  {@link #withCapacityReservationIds(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param capacityReservationIds
  The ID of the Capacity Reservation.
  @return Returns a reference to this object so that method calls can be chained together.