public EnrollmentFlagsV2 withUserInteractionRequired(Boolean userInteractionRequired) {
        setUserInteractionRequired(userInteractionRequired);
        return this;
    }
<p>
Require user interaction when the subject is enrolled and the private key associated with the certificate is
used.
</p>

@param userInteractionRequired
       Require user interaction when the subject is enrolled and the private key associated with the certificate
       is used.
@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/EnrollmentFlagsV2.java