public void setAutoScalingPolicy(GameServerGroupAutoScalingPolicy autoScalingPolicy) {
        this.autoScalingPolicy = autoScalingPolicy;
    }
<p>
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.
The scaling policy uses the metric <code>"PercentUtilizedGameServers"</code> to maintain a buffer of idle game
servers that can immediately accommodate new games and players. 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 autoScalingPolicy
       Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game
       hosting. The scaling policy uses the metric <code>"PercentUtilizedGameServers"</code> to maintain a buffer
       of idle game servers that can immediately accommodate new games and players. 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