Class EdgecontainerVpnConnectionConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cluster

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder cluster​(String cluster)
        Parameters:
        cluster - The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#cluster EdgecontainerVpnConnection#cluster}
        Returns:
        this
      • location

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder location​(String location)
        Parameters:
        location - Google Cloud Platform location. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#location EdgecontainerVpnConnection#location}
        Returns:
        this
      • enableHighAvailability

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder enableHighAvailability​(Boolean enableHighAvailability)
        Parameters:
        enableHighAvailability - Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#enable_high_availability EdgecontainerVpnConnection#enable_high_availability}
        Returns:
        this
      • enableHighAvailability

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder enableHighAvailability​(com.hashicorp.cdktf.IResolvable enableHighAvailability)
        Parameters:
        enableHighAvailability - Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#enable_high_availability EdgecontainerVpnConnection#enable_high_availability}
        Returns:
        this
      • id

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#id EdgecontainerVpnConnection#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
      • labels

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        labels - Labels associated with this resource. **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/edgecontainer_vpn_connection#labels EdgecontainerVpnConnection#labels}
        Returns:
        this
      • natGatewayIp

        @Stability(Stable)
        public EdgecontainerVpnConnectionConfig.Builder natGatewayIp​(String natGatewayIp)
        Parameters:
        natGatewayIp - NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_vpn_connection#nat_gateway_ip EdgecontainerVpnConnection#nat_gateway_ip}
        Returns:
        this
      • connection

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