docs: public java.util.List<MetricCollectionType> getMetrics() {
          if (metrics == null) {
              metrics = new com.amazonaws.internal.SdkInternalList<MetricCollectionType>();
          }
          return metrics;
      }