Class EdgenetworkSubnet.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.edgenetwork_subnet.EdgenetworkSubnet.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EdgenetworkSubnet>
- Enclosing class:
- EdgenetworkSubnet
@Stability(Stable) public static final class EdgenetworkSubnet.Builder extends Object implements software.amazon.jsii.Builder<EdgenetworkSubnet>
A fluent builder forEdgenetworkSubnet.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgenetworkSubnetbuild()EdgenetworkSubnet.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)EdgenetworkSubnet.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)EdgenetworkSubnet.Buildercount(com.hashicorp.cdktf.TerraformCount count)EdgenetworkSubnet.Buildercount(Number count)static EdgenetworkSubnet.Buildercreate(software.constructs.Construct scope, String id)EdgenetworkSubnet.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)EdgenetworkSubnet.Builderdescription(String description)A free-text description of the resource.EdgenetworkSubnet.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)EdgenetworkSubnet.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#id EdgenetworkSubnet#id}.EdgenetworkSubnet.Builderipv4Cidr(List<String> ipv4Cidr)The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.EdgenetworkSubnet.Builderipv6Cidr(List<String> ipv6Cidr)The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.EdgenetworkSubnet.Builderlabels(Map<String,String> labels)Labels associated with this resource.EdgenetworkSubnet.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)EdgenetworkSubnet.Builderlocation(String location)The Google Cloud region to which the target Distributed Cloud Edge zone belongs.EdgenetworkSubnet.Buildernetwork(String network)The ID of the network to which this router belongs.EdgenetworkSubnet.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#project EdgenetworkSubnet#project}.EdgenetworkSubnet.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)EdgenetworkSubnet.Builderprovisioners(List<? extends Object> provisioners)EdgenetworkSubnet.BuildersubnetId(String subnetId)A unique ID that identifies this subnet.EdgenetworkSubnet.Buildertimeouts(EdgenetworkSubnetTimeouts timeouts)timeouts block.EdgenetworkSubnet.BuildervlanId(Number vlanId)VLAN ID for this subnetwork.EdgenetworkSubnet.Builderzone(String zone)The name of the target Distributed Cloud Edge zone.
-
-
-
Method Detail
-
create
@Stability(Stable) public static EdgenetworkSubnet.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
EdgenetworkSubnet.Builder.
-
connection
@Stability(Experimental) public EdgenetworkSubnet.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public EdgenetworkSubnet.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EdgenetworkSubnet.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EdgenetworkSubnet.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public EdgenetworkSubnet.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public EdgenetworkSubnet.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public EdgenetworkSubnet.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public EdgenetworkSubnet.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public EdgenetworkSubnet.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public EdgenetworkSubnet.Builder location(String location)
The Google Cloud region to which the target Distributed Cloud Edge zone belongs.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#location EdgenetworkSubnet#location}
- Parameters:
location- The Google Cloud region to which the target Distributed Cloud Edge zone belongs. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public EdgenetworkSubnet.Builder network(String 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}}'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#network EdgenetworkSubnet#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.- Returns:
this
-
subnetId
@Stability(Stable) public EdgenetworkSubnet.Builder subnetId(String subnetId)
A unique ID that identifies this subnet.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#subnet_id EdgenetworkSubnet#subnet_id}
- Parameters:
subnetId- A unique ID that identifies this subnet. This parameter is required.- Returns:
this
-
zone
@Stability(Stable) public EdgenetworkSubnet.Builder zone(String zone)
The name of the target Distributed Cloud Edge zone.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#zone EdgenetworkSubnet#zone}
- Parameters:
zone- The name of the target Distributed Cloud Edge zone. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public EdgenetworkSubnet.Builder description(String 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}
- Parameters:
description- A free-text description of the resource. Max length 1024 characters. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public EdgenetworkSubnet.Builder id(String 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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#id EdgenetworkSubnet#id}. This parameter is required.- Returns:
this
-
ipv4Cidr
@Stability(Stable) public EdgenetworkSubnet.Builder ipv4Cidr(List<String> 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}
- Parameters:
ipv4Cidr- The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format. This parameter is required.- Returns:
this
-
ipv6Cidr
@Stability(Stable) public EdgenetworkSubnet.Builder ipv6Cidr(List<String> 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}
- Parameters:
ipv6Cidr- The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public EdgenetworkSubnet.Builder labels(Map<String,String> labels)
Labels associated with this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#labels EdgenetworkSubnet#labels}
- Parameters:
labels- Labels associated with this resource. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public EdgenetworkSubnet.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#project EdgenetworkSubnet#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#project EdgenetworkSubnet#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public EdgenetworkSubnet.Builder timeouts(EdgenetworkSubnetTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgenetwork_subnet#timeouts EdgenetworkSubnet#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
vlanId
@Stability(Stable) public EdgenetworkSubnet.Builder vlanId(Number 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}
- Parameters:
vlanId- VLAN ID for this subnetwork. If not specified, one is assigned automatically. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public EdgenetworkSubnet build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EdgenetworkSubnet>- Returns:
- a newly built instance of
EdgenetworkSubnet.
-
-