public NodegroupScalingConfig withMaxSize(Integer maxSize) {
        setMaxSize(maxSize);
        return this;
    }
<p>
The maximum number of nodes that the managed node group can scale out to. For information about the maximum
number that you can specify, see <a
href="https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html">Amazon EKS service quotas</a> in the
<i>Amazon EKS User Guide</i>.
</p>

@param maxSize
       The maximum number of nodes that the managed node group can scale out to. For information about the
       maximum number that you can specify, see <a
       href="https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html">Amazon EKS service quotas</a>
       in the <i>Amazon EKS User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/NodegroupScalingConfig.java