public AccessRights withEnroll(String enroll) {
        setEnroll(enroll);
        return this;
    }
<p>
Allow or deny an Active Directory group from enrolling certificates issued against a template.
</p>

@param enroll
       Allow or deny an Active Directory group from enrolling certificates issued against a template.
@return Returns a reference to this object so that method calls can be chained together.
@see AccessRight
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/AccessRights.java