public void setMaxSize(Integer maxSize) {
        this.maxSize = maxSize;
    }
<p>
The maximum number of instances allowed in the Amazon EC2 Auto Scaling group. During automatic scaling events,
Amazon GameLift FleetIQ and EC2 do not scale up the group above this maximum. After the Auto Scaling group is
created, update this value directly in the Auto Scaling group using the Amazon Web Services console or APIs.
</p>

@param maxSize
       The maximum number of instances allowed in the Amazon EC2 Auto Scaling group. During automatic scaling
       events, Amazon GameLift FleetIQ and EC2 do not scale up the group above this maximum. After the Auto
       Scaling group is created, update this value directly in the Auto Scaling group using the Amazon Web
       Services console or APIs.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateGameServerGroupRequest.java