Class NotebooksRuntime.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static NotebooksRuntime.Builder create​(software.constructs.Construct scope,
                                                      String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of NotebooksRuntime.Builder.
      • connection

        @Stability(Experimental)
        public NotebooksRuntime.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public NotebooksRuntime.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NotebooksRuntime.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NotebooksRuntime.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public NotebooksRuntime.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public NotebooksRuntime.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public NotebooksRuntime.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public NotebooksRuntime.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public NotebooksRuntime.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public NotebooksRuntime.Builder location​(String location)
        A reference to the zone where the machine resides.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#location NotebooksRuntime#location}

        Parameters:
        location - A reference to the zone where the machine resides. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NotebooksRuntime.Builder name​(String name)
        The name specified for the Notebook runtime.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#name NotebooksRuntime#name}

        Parameters:
        name - The name specified for the Notebook runtime. This parameter is required.
        Returns:
        this
      • accessConfig

        @Stability(Stable)
        public NotebooksRuntime.Builder accessConfig​(NotebooksRuntimeAccessConfig accessConfig)
        access_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#access_config NotebooksRuntime#access_config}

        Parameters:
        accessConfig - access_config block. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NotebooksRuntime.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NotebooksRuntime.Builder labels​(Map<String,​String> labels)
        The labels to associate with this runtime.

        Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}

        Parameters:
        labels - The labels to associate with this runtime. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public NotebooksRuntime.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}. This parameter is required.
        Returns:
        this
      • softwareConfig

        @Stability(Stable)
        public NotebooksRuntime.Builder softwareConfig​(NotebooksRuntimeSoftwareConfig softwareConfig)
        software_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#software_config NotebooksRuntime#software_config}

        Parameters:
        softwareConfig - software_config block. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NotebooksRuntime.Builder timeouts​(NotebooksRuntimeTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#timeouts NotebooksRuntime#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this
      • virtualMachine

        @Stability(Stable)
        public NotebooksRuntime.Builder virtualMachine​(NotebooksRuntimeVirtualMachine virtualMachine)
        virtual_machine block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#virtual_machine NotebooksRuntime#virtual_machine}

        Parameters:
        virtualMachine - virtual_machine block. This parameter is required.
        Returns:
        this