public DescribeComplianceByConfigRuleRequest withComplianceTypes(java.util.Collection<String> complianceTypes) {
        setComplianceTypes(complianceTypes);
        return this;
    }
<p>
Filters the results by compliance.
</p>

@param complianceTypes
       Filters the results by compliance.
@return Returns a reference to this object so that method calls can be chained together.
@see ComplianceType
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/DescribeComplianceByConfigRuleRequest.java