code: public void setAdditionalMetricsToRetain(java.util.Collection<String> additionalMetricsToRetain) {
          if (additionalMetricsToRetain == null) {
              this.additionalMetricsToRetain = null;
              return;
          }
  
          this.additionalMetricsToRetain = new java.util.ArrayList<String>(additionalMetricsToRetain);
      }
docs: <p>
  A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
  profile's <code>behaviors</code> but it is also retained for any metric specified here.
  </p>
  
  @param additionalMetricsToRetain
  A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
  profile's <code>behaviors</code> but it is also retained for any metric specified here.