Class ComputeRegionNetworkEndpointGroup.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder name​(String name)
        Name of the resource;

        provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#name ComputeRegionNetworkEndpointGroup#name}

        Parameters:
        name - Name of the resource;. This parameter is required.
        Returns:
        this
      • region

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder region​(String region)
        A reference to the region where the regional NEGs reside.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#region ComputeRegionNetworkEndpointGroup#region}

        Parameters:
        region - A reference to the region where the regional NEGs reside. This parameter is required.
        Returns:
        this
      • appEngine

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder appEngine​(ComputeRegionNetworkEndpointGroupAppEngine appEngine)
        app_engine block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#app_engine ComputeRegionNetworkEndpointGroup#app_engine}

        Parameters:
        appEngine - app_engine block. This parameter is required.
        Returns:
        this
      • cloudFunction

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder cloudFunction​(ComputeRegionNetworkEndpointGroupCloudFunction cloudFunction)
        cloud_function block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#cloud_function ComputeRegionNetworkEndpointGroup#cloud_function}

        Parameters:
        cloudFunction - cloud_function block. This parameter is required.
        Returns:
        this
      • cloudRun

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder cloudRun​(ComputeRegionNetworkEndpointGroupCloudRun cloudRun)
        cloud_run block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#cloud_run ComputeRegionNetworkEndpointGroup#cloud_run}

        Parameters:
        cloudRun - cloud_run block. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder description​(String description)
        An optional description of this resource. Provide this property when you create the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#description ComputeRegionNetworkEndpointGroup#description}

        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder network​(String network)
        This field is only used for PSC and INTERNET NEGs.

        The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#network ComputeRegionNetworkEndpointGroup#network}

        Parameters:
        network - This field is only used for PSC and INTERNET NEGs. This parameter is required.
        Returns:
        this
      • networkEndpointType

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder networkEndpointType​(String networkEndpointType)
        Type of network endpoints in this network endpoint group.

        Defaults to SERVERLESS. Default value: "SERVERLESS" Possible values: ["SERVERLESS", "PRIVATE_SERVICE_CONNECT", "INTERNET_IP_PORT", "INTERNET_FQDN_PORT", "GCE_VM_IP_PORTMAP"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#network_endpoint_type ComputeRegionNetworkEndpointGroup#network_endpoint_type}

        Parameters:
        networkEndpointType - Type of network endpoints in this network endpoint group. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder pscTargetService​(String pscTargetService)
        This field is only used for PSC and INTERNET NEGs.

        The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#psc_target_service ComputeRegionNetworkEndpointGroup#psc_target_service}

        Parameters:
        pscTargetService - This field is only used for PSC and INTERNET NEGs. This parameter is required.
        Returns:
        this
      • subnetwork

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder subnetwork​(String subnetwork)
        This field is only used for PSC NEGs.

        Optional URL of the subnetwork to which all network endpoints in the NEG belong. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_endpoint_group#subnetwork ComputeRegionNetworkEndpointGroup#subnetwork}

        Parameters:
        subnetwork - This field is only used for PSC NEGs. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ComputeRegionNetworkEndpointGroup.Builder timeouts​(ComputeRegionNetworkEndpointGroupTimeouts timeouts)
        timeouts block.

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

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