public GeneralFlagsV2 withAutoEnrollment(Boolean autoEnrollment) {
        setAutoEnrollment(autoEnrollment);
        return this;
    }
<p>
Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
</p>

@param autoEnrollment
       Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/GeneralFlagsV2.java