@Override public VirtualMachineScaleSetImpl withCapacity(int capacity) { this.inner() .sku().withCapacity(new Long(capacity)); return this; }
@Override public VirtualMachineScaleSetImpl withCapacity(int capacity) { this.inner() .sku().withCapacity(new Long(capacity)); return this; }
/** * Creates a copy of the given sku. * * @param sku the sku to create copy of * @return the copy */ private static Sku createCopy(Sku sku) { return new Sku() .withName(sku.name()) .withTier(sku.tier()) .withCapacity(sku.capacity()); } }
/** * Creates a copy of the given sku. * * @param sku the sku to create copy of * @return the copy */ private static Sku createCopy(Sku sku) { return new Sku() .withName(sku.name()) .withTier(sku.tier()) .withCapacity(sku.capacity()); } }