code: public void setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics) {
          if (enabledMetrics == null) {
              this.enabledMetrics = null;
              return;
          }
  
          this.enabledMetrics = new com.amazonaws.internal.SdkInternalList<EnabledMetric>(enabledMetrics);
      }
docs: <p>
  The metrics enabled for the group.
  </p>
  
  @param enabledMetrics
  The metrics enabled for the group.