/** * <p> * Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances * detached. * </p> * * @param shouldDecrementDesiredCapacity * Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances * detached. * @return Returns a reference to this object so that method calls can be chained together. */ public DetachInstancesRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) { setShouldDecrementDesiredCapacity(shouldDecrementDesiredCapacity); return this; }