code: public void setCapacityReservations(java.util.Collection<CapacityReservation> capacityReservations) {
          if (capacityReservations == null) {
              this.capacityReservations = null;
              return;
          }
  
          this.capacityReservations = new com.amazonaws.internal.SdkInternalList<CapacityReservation>(capacityReservations);
      }
docs: <p>
  Information about the Capacity Reservations.
  </p>
  
  @param capacityReservations
  Information about the Capacity Reservations.