We can talk about about this in person, but there are only 3 params that we need, and putting them into a resource object doesn't seem to improve things much.
   private final double cpus;
   private final int mem;
   private final int slaveMem;