public void setOnCreate(java.util.Collection<NotebookInstanceLifecycleHook> onCreate) {
        if (onCreate == null) {
            this.onCreate = null;
            return;
        }

        this.onCreate = new java.util.ArrayList<NotebookInstanceLifecycleHook>(onCreate);
    }
<p>
The shell script that runs only once, when you create a notebook instance.
</p>

@param onCreate
       The shell script that runs only once, when you create a notebook instance.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DescribeNotebookInstanceLifecycleConfigResult.java