public Compliance getCompliance() {
        return this.compliance;
    }
<p>
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
</p>

@return Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated
        it.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ComplianceByResource.java