public void setCapacityReservationIds(java.util.Collection<String> capacityReservationIds) {
        if (capacityReservationIds == null) {
            this.capacityReservationIds = null;
            return;
        }

        this.capacityReservationIds = new com.amazonaws.internal.SdkInternalList<String>(capacityReservationIds);
    }
<p>
The ID of the Capacity Reservation.
</p>

@param capacityReservationIds
       The ID of the Capacity Reservation.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeCapacityReservationsRequest.java