public AutoScalingGroupConfiguration withMaxSize(Integer maxSize) {
        setMaxSize(maxSize);
        return this;
    }
<p>
The maximum size, or maximum number of instances, for the Auto Scaling group.
</p>

@param maxSize
       The maximum size, or maximum number of instances, for the Auto Scaling group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/AutoScalingGroupConfiguration.java