Class ComputeNetworkEndpointConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ipAddress

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder ipAddress​(String ipAddress)
        Parameters:
        ipAddress - IPv4 address of network endpoint. This parameter is required. 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}
        Returns:
        this
      • networkEndpointGroup

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder networkEndpointGroup​(String networkEndpointGroup)
        Parameters:
        networkEndpointGroup - The network endpoint group this endpoint is part of. This parameter is required. 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}
        Returns:
        this
      • id

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder id​(String id)
        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}. 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.
        Returns:
        this
      • instance

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder instance​(String instance)
        Parameters:
        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}
        Returns:
        this
      • port

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder port​(Number 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'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_endpoint#port ComputeNetworkEndpoint#port}
        Returns:
        this
      • zone

        @Stability(Stable)
        public ComputeNetworkEndpointConfig.Builder zone​(String zone)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ComputeNetworkEndpointConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this