Class NotebooksRuntimeSoftwareConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • customGpuDriverPath

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder customGpuDriverPath​(String customGpuDriverPath)
        Parameters:
        customGpuDriverPath - Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#custom_gpu_driver_path NotebooksRuntime#custom_gpu_driver_path}
        Returns:
        this
      • enableHealthMonitoring

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder enableHealthMonitoring​(Boolean enableHealthMonitoring)
        Parameters:
        enableHealthMonitoring - Verifies core internal services are running. Default: True. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#enable_health_monitoring NotebooksRuntime#enable_health_monitoring}
        Returns:
        this
      • enableHealthMonitoring

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder enableHealthMonitoring​(com.hashicorp.cdktf.IResolvable enableHealthMonitoring)
        Parameters:
        enableHealthMonitoring - Verifies core internal services are running. Default: True. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#enable_health_monitoring NotebooksRuntime#enable_health_monitoring}
        Returns:
        this
      • idleShutdown

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder idleShutdown​(Boolean idleShutdown)
        Parameters:
        idleShutdown - Runtime will automatically shutdown after idle_shutdown_time. Default: True. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#idle_shutdown NotebooksRuntime#idle_shutdown}
        Returns:
        this
      • idleShutdown

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder idleShutdown​(com.hashicorp.cdktf.IResolvable idleShutdown)
        Parameters:
        idleShutdown - Runtime will automatically shutdown after idle_shutdown_time. Default: True. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#idle_shutdown NotebooksRuntime#idle_shutdown}
        Returns:
        this
      • idleShutdownTimeout

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder idleShutdownTimeout​(Number idleShutdownTimeout)
        Parameters:
        idleShutdownTimeout - Time in minutes to wait before shuting down runtime. Default: 180 minutes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#idle_shutdown_timeout NotebooksRuntime#idle_shutdown_timeout}
        Returns:
        this
      • installGpuDriver

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder installGpuDriver​(com.hashicorp.cdktf.IResolvable installGpuDriver)
        Parameters:
        installGpuDriver - Install Nvidia Driver automatically. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#install_gpu_driver NotebooksRuntime#install_gpu_driver}
        Returns:
        this
      • kernels

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder kernels​(com.hashicorp.cdktf.IResolvable kernels)
        Parameters:
        kernels - kernels block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#kernels NotebooksRuntime#kernels}
        Returns:
        this
      • notebookUpgradeSchedule

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder notebookUpgradeSchedule​(String notebookUpgradeSchedule)
        Parameters:
        notebookUpgradeSchedule - Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the cron format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#notebook_upgrade_schedule NotebooksRuntime#notebook_upgrade_schedule}
        Returns:
        this
      • postStartupScript

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder postStartupScript​(String postStartupScript)
        Parameters:
        postStartupScript - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#post_startup_script NotebooksRuntime#post_startup_script}
        Returns:
        this
      • postStartupScriptBehavior

        @Stability(Stable)
        public NotebooksRuntimeSoftwareConfig.Builder postStartupScriptBehavior​(String postStartupScriptBehavior)
        Parameters:
        postStartupScriptBehavior - Behavior for the post startup script. Possible values: ["POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_EVERY_START", "DOWNLOAD_AND_RUN_EVERY_START"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#post_startup_script_behavior NotebooksRuntime#post_startup_script_behavior}
        Returns:
        this