public AppComponentCompliance withCompliance(java.util.Map<String, DisruptionCompliance> compliance) {
        setCompliance(compliance);
        return this;
    }
<p>
The compliance of the Application Component against the resiliency policy.
</p>

@param compliance
       The compliance of the Application Component against the resiliency policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/AppComponentCompliance.java