code: public DescribeSecurityProfileResult withAdditionalMetricsToRetain(String... additionalMetricsToRetain) {
          if (this.additionalMetricsToRetain == null) {
              setAdditionalMetricsToRetain(new java.util.ArrayList<String>(additionalMetricsToRetain.length));
          }
          for (String ele : additionalMetricsToRetain) {
              this.additionalMetricsToRetain.add(ele);
          }
          return this;
      }
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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAdditionalMetricsToRetain(java.util.Collection)} or
  {@link #withAdditionalMetricsToRetain(java.util.Collection)} if you want to override the existing values.
  </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.
  @return Returns a reference to this object so that method calls can be chained together.