code: public void setOnCreate(java.util.Collection<NotebookInstanceLifecycleHook> onCreate) {
          if (onCreate == null) {
              this.onCreate = null;
              return;
          }
  
          this.onCreate = new java.util.ArrayList<NotebookInstanceLifecycleHook>(onCreate);
      }
docs: <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.