public void setRootAccess(String rootAccess) {
        this.rootAccess = rootAccess;
    }
<p>
Whether root access is enabled or disabled for users of the notebook instance. The default value is
<code>Enabled</code>.
</p>
<note>
<p>
If you set this to <code>Disabled</code>, users don't have root access on the notebook instance, but lifecycle
configuration scripts still run with root permissions.
</p>
</note>

@param rootAccess
       Whether root access is enabled or disabled for users of the notebook instance. The default value is
       <code>Enabled</code>.</p> <note>
       <p>
       If you set this to <code>Disabled</code>, users don't have root access on the notebook instance, but
       lifecycle configuration scripts still run with root permissions.
       </p>
@see RootAccess
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateNotebookInstanceRequest.java