Class ComputeNetworkEndpoint.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static ComputeNetworkEndpoint.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 ComputeNetworkEndpoint.Builder.
      • connection

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

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

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

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

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

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

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

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

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder ipAddress​(String ipAddress)
        IPv4 address of network endpoint.

        The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#ip_address ComputeNetworkEndpoint#ip_address}

        Parameters:
        ipAddress - IPv4 address of network endpoint. This parameter is required.
        Returns:
        this
      • networkEndpointGroup

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder networkEndpointGroup​(String networkEndpointGroup)
        The network endpoint group this endpoint is part of.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#network_endpoint_group ComputeNetworkEndpoint#network_endpoint_group}

        Parameters:
        networkEndpointGroup - The network endpoint group this endpoint is part of. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder instance​(String instance)
        The name for a specific VM instance that the IP address belongs to.

        This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#instance ComputeNetworkEndpoint#instance}

        Parameters:
        instance - The name for a specific VM instance that the IP address belongs to. This parameter is required.
        Returns:
        this
      • port

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder port​(Number port)
        Port number of network endpoint. Note 'port' is required unless the Network Endpoint Group is created with the type of 'GCE_VM_IP'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#port ComputeNetworkEndpoint#port}

        Parameters:
        port - Port number of network endpoint. Note 'port' is required unless the Network Endpoint Group is created with the type of 'GCE_VM_IP'. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder timeouts​(ComputeNetworkEndpointTimeouts timeouts)
        timeouts block.

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

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

        @Stability(Stable)
        public ComputeNetworkEndpoint.Builder zone​(String zone)
        Zone where the containing network endpoint group is located.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#zone ComputeNetworkEndpoint#zone}

        Parameters:
        zone - Zone where the containing network endpoint group is located. This parameter is required.
        Returns:
        this