public AggregateComplianceByConformancePack withCompliance(AggregateConformancePackCompliance compliance) {
        setCompliance(compliance);
        return this;
    }
<p>
The compliance status of the conformance pack.
</p>

@param compliance
       The compliance status of the conformance pack.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/AggregateComplianceByConformancePack.java