public void setNumberOfInstances ( final InstanceType instanceType , final int number ) { setMinimumNumberOfInstances ( instanceType , number ) ; setMaximumNumberOfInstances ( instanceType , number ) ; }
Sets both the minimum and the maximum number of instances to be requested from the given instance type .