public void setDeleteAdditionalMetricsToRetain(Boolean deleteAdditionalMetricsToRetain) {
        this.deleteAdditionalMetricsToRetain = deleteAdditionalMetricsToRetain;
    }
<p>
If true, delete all <code>additionalMetricsToRetain</code> defined for this security profile. If any
<code>additionalMetricsToRetain</code> are defined in the current invocation, an exception occurs.
</p>

@param deleteAdditionalMetricsToRetain
       If true, delete all <code>additionalMetricsToRetain</code> defined for this security profile. If any
       <code>additionalMetricsToRetain</code> are defined in the current invocation, an exception occurs.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateSecurityProfileRequest.java