public void setExcludes(SensitivityInspectionTemplateExcludes excludes) {
        this.excludes = excludes;
    }
<p>
The managed data identifiers to explicitly exclude (not use) when performing automated sensitive data discovery.
</p>
<p>
To exclude an allow list or custom data identifier that's currently included by the template, update the values
for the SensitivityInspectionTemplateIncludes.allowListIds and
SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
</p>

@param excludes
       <p>
       The managed data identifiers to explicitly exclude (not use) when performing automated sensitive data
       discovery.
       </p>
       <p>
       To exclude an allow list or custom data identifier that's currently included by the template, update the
       values for the SensitivityInspectionTemplateIncludes.allowListIds and
       SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
       </p>
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/UpdateSensitivityInspectionTemplateRequest.java