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 a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics
from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new
name. A fleet can only be in one metric group at a time.
</p>

@param metricGroups
       The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the
       metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by
       providing a new name. A fleet can only be in one metric group at a time.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/UpdateFleetAttributesRequest.java