public AwsSecurityFinding withCompliance(Compliance compliance) {
        setCompliance(compliance);
        return this;
    }
<p>
This data type is exclusive to findings that are generated as the result of a check run against a specific rule
in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related
finding details.
</p>

@param compliance
       This data type is exclusive to findings that are generated as the result of a check run against a specific
       rule in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security
       standard-related finding details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java