@Override public final Vm setBw(final long bwCapacity) { if(this.isCreated()){ throw new UnsupportedOperationException("Bandwidth capacity can just be changed when the Vm was not created inside a Host yet."); } setBw(new Bandwidth(bwCapacity)); return this; }
setBw(new Bandwidth(1000)); setStorage(new Storage(1024));