public void setComplianceTypes(java.util.Collection<String> complianceTypes) {
        if (complianceTypes == null) {
            this.complianceTypes = null;
            return;
        }

        this.complianceTypes = new com.amazonaws.internal.SdkInternalList<String>(complianceTypes);
    }
<p>
Filters the results by compliance.
</p>

@param complianceTypes
       Filters the results by compliance.
@see ComplianceType
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/DescribeComplianceByConfigRuleRequest.java