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