public void setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics) {
        if (enabledMetrics == null) {
            this.enabledMetrics = null;
            return;
        }

        this.enabledMetrics = new com.amazonaws.internal.SdkInternalList<EnabledMetric>(enabledMetrics);
    }
<p>
The metrics enabled for the group.
</p>

@param enabledMetrics
       The metrics enabled for the group.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/AutoScalingGroup.java