code: public ShareableResource setConsumption(int val, VM... vms) {
      Stream.of(vms).forEach(v -> setConsumption(v, val));
      return this;
    }
docs: Set the resource consumption of VMs.
  
  @param val the value to set
  @param vms the VMs
  @return the current resource