public AssessmentFrameworkShareRequest withComplianceType(String complianceType) {
        setComplianceType(complianceType);
        return this;
    }
<p>
The compliance type that the shared custom framework supports, such as CIS or HIPAA.
</p>

@param complianceType
       The compliance type that the shared custom framework supports, such as CIS or HIPAA.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/AssessmentFrameworkShareRequest.java