public void setMaxSize(Integer maxSize) {
        this.maxSize = maxSize;
    }
<p>
The maximum number of instances that a service scales up to. At most <code>MaxSize</code> instances actively
serve traffic for your service.
</p>

@param maxSize
       The maximum number of instances that a service scales up to. At most <code>MaxSize</code> instances
       actively serve traffic for your service.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/AutoScalingConfiguration.java