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>
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle
configurations associated with a notebook instance always run with root access even if you disable root access
for users.
</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>
       Lifecycle configurations need root access to be able to set up a notebook instance. Because of this,
       lifecycle configurations associated with a notebook instance always run with root access even if you
       disable root access for users.
       </p>
@see RootAccess
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateNotebookInstanceRequest.java