public void setMetricGroups(java.util.Collection<String> metricGroups) {
        if (metricGroups == null) {
            this.metricGroups = null;
            return;
        }

        this.metricGroups = new java.util.ArrayList<String>(metricGroups);
    }
<p>
The name of an Amazon Web Services CloudWatch metric group to add this fleet to. A metric group is used to
aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to
create a new metric group. A fleet can be included in only one metric group at a time.
</p>

@param metricGroups
       The name of an Amazon Web Services CloudWatch metric group to add this fleet to. A metric group is used to
       aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name
       to create a new metric group. A fleet can be included in only one metric group at a time.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateFleetRequest.java