Class GkeonpremBareMetalNodePool.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder bareMetalCluster​(String bareMetalCluster)
        The cluster this node pool belongs to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#bare_metal_cluster GkeonpremBareMetalNodePool#bare_metal_cluster}

        Parameters:
        bareMetalCluster - The cluster this node pool belongs to. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder location​(String location)
        The location of the resource.

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

        Parameters:
        location - The location of the resource. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder name​(String name)
        The bare metal node pool name.

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

        Parameters:
        name - The bare metal node pool name. This parameter is required.
        Returns:
        this
      • nodePoolConfig

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder nodePoolConfig​(GkeonpremBareMetalNodePoolNodePoolConfig nodePoolConfig)
        node_pool_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#node_pool_config GkeonpremBareMetalNodePool#node_pool_config}

        Parameters:
        nodePoolConfig - node_pool_config block. This parameter is required.
        Returns:
        this
      • annotations

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder annotations​(Map<String,​String> annotations)
        Annotations on the Bare Metal Node Pool.

        This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#annotations GkeonpremBareMetalNodePool#annotations}

        Parameters:
        annotations - Annotations on the Bare Metal Node Pool. This parameter is required.
        Returns:
        this
      • displayName

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder displayName​(String displayName)
        The display name for the Bare Metal Node Pool.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#display_name GkeonpremBareMetalNodePool#display_name}

        Parameters:
        displayName - The display name for the Bare Metal Node Pool. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#id GkeonpremBareMetalNodePool#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/gkeonprem_bare_metal_node_pool#id GkeonpremBareMetalNodePool#id}. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public GkeonpremBareMetalNodePool.Builder timeouts​(GkeonpremBareMetalNodePoolTimeouts timeouts)
        timeouts block.

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

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