Class EdgenetworkSubnetConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • location

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder location​(String location)
        Parameters:
        location - The Google Cloud region to which the target Distributed Cloud Edge zone belongs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#location EdgenetworkSubnet#location}
        Returns:
        this
      • network

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder network​(String network)
        Parameters:
        network - The ID of the network to which this router belongs. Must be of the form: 'projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#network EdgenetworkSubnet#network}
        Returns:
        this
      • subnetId

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder subnetId​(String subnetId)
        Parameters:
        subnetId - A unique ID that identifies this subnet. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#subnet_id EdgenetworkSubnet#subnet_id}
        Returns:
        this
      • zone

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder zone​(String zone)
        Parameters:
        zone - The name of the target Distributed Cloud Edge zone. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#zone EdgenetworkSubnet#zone}
        Returns:
        this
      • description

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder description​(String description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#description EdgenetworkSubnet#description}
        Returns:
        this
      • id

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

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder ipv4Cidr​(List<String> ipv4Cidr)
        Parameters:
        ipv4Cidr - The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#ipv4_cidr EdgenetworkSubnet#ipv4_cidr}
        Returns:
        this
      • ipv6Cidr

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder ipv6Cidr​(List<String> ipv6Cidr)
        Parameters:
        ipv6Cidr - The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#ipv6_cidr EdgenetworkSubnet#ipv6_cidr}
        Returns:
        this
      • vlanId

        @Stability(Stable)
        public EdgenetworkSubnetConfig.Builder vlanId​(Number vlanId)
        Parameters:
        vlanId - VLAN ID for this subnetwork. If not specified, one is assigned automatically. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#vlan_id EdgenetworkSubnet#vlan_id}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public EdgenetworkSubnetConfig.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 EdgenetworkSubnetConfig.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 EdgenetworkSubnetConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

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