public java.util.List<MetricToRetain> getAdditionalMetricsToRetainV2() {
        return additionalMetricsToRetainV2;
    }
<p>
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors, but it is also retained for any metric specified here. Can be used with custom metrics;
cannot be used with dimensions.
</p>

@return A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
        the profile's behaviors, but it is also retained for any metric specified here. Can be used with custom
        metrics; cannot be used with dimensions.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateSecurityProfileResult.java