Class ComputeNetworkPeeringRoutesConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_network_peering_routes_config.ComputeNetworkPeeringRoutesConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeNetworkPeeringRoutesConfig>
- Enclosing class:
- ComputeNetworkPeeringRoutesConfig
@Stability(Stable) public static final class ComputeNetworkPeeringRoutesConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeNetworkPeeringRoutesConfig>
A fluent builder forComputeNetworkPeeringRoutesConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNetworkPeeringRoutesConfigbuild()ComputeNetworkPeeringRoutesConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ComputeNetworkPeeringRoutesConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ComputeNetworkPeeringRoutesConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)ComputeNetworkPeeringRoutesConfig.Buildercount(Number count)static ComputeNetworkPeeringRoutesConfig.Buildercreate(software.constructs.Construct scope, String id)ComputeNetworkPeeringRoutesConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ComputeNetworkPeeringRoutesConfig.BuilderexportCustomRoutes(com.hashicorp.cdktf.IResolvable exportCustomRoutes)Whether to export the custom routes to the peer network.ComputeNetworkPeeringRoutesConfig.BuilderexportCustomRoutes(Boolean exportCustomRoutes)Whether to export the custom routes to the peer network.ComputeNetworkPeeringRoutesConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ComputeNetworkPeeringRoutesConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#id ComputeNetworkPeeringRoutesConfig#id}.ComputeNetworkPeeringRoutesConfig.BuilderimportCustomRoutes(com.hashicorp.cdktf.IResolvable importCustomRoutes)Whether to import the custom routes to the peer network.ComputeNetworkPeeringRoutesConfig.BuilderimportCustomRoutes(Boolean importCustomRoutes)Whether to import the custom routes to the peer network.ComputeNetworkPeeringRoutesConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ComputeNetworkPeeringRoutesConfig.Buildernetwork(String network)The name of the primary network for the peering.ComputeNetworkPeeringRoutesConfig.Builderpeering(String peering)Name of the peering.ComputeNetworkPeeringRoutesConfig.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#project ComputeNetworkPeeringRoutesConfig#project}.ComputeNetworkPeeringRoutesConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ComputeNetworkPeeringRoutesConfig.Builderprovisioners(List<? extends Object> provisioners)ComputeNetworkPeeringRoutesConfig.Buildertimeouts(ComputeNetworkPeeringRoutesConfigTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ComputeNetworkPeeringRoutesConfig.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
ComputeNetworkPeeringRoutesConfig.Builder.
-
connection
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputeNetworkPeeringRoutesConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder exportCustomRoutes(Boolean exportCustomRoutes)
Whether to export the custom routes to the peer network.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#export_custom_routes ComputeNetworkPeeringRoutesConfig#export_custom_routes}
- Parameters:
exportCustomRoutes- Whether to export the custom routes to the peer network. This parameter is required.- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder exportCustomRoutes(com.hashicorp.cdktf.IResolvable exportCustomRoutes)
Whether to export the custom routes to the peer network.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#export_custom_routes ComputeNetworkPeeringRoutesConfig#export_custom_routes}
- Parameters:
exportCustomRoutes- Whether to export the custom routes to the peer network. This parameter is required.- Returns:
this
-
importCustomRoutes
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder importCustomRoutes(Boolean importCustomRoutes)
Whether to import the custom routes to the peer network.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#import_custom_routes ComputeNetworkPeeringRoutesConfig#import_custom_routes}
- Parameters:
importCustomRoutes- Whether to import the custom routes to the peer network. This parameter is required.- Returns:
this
-
importCustomRoutes
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder importCustomRoutes(com.hashicorp.cdktf.IResolvable importCustomRoutes)
Whether to import the custom routes to the peer network.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#import_custom_routes ComputeNetworkPeeringRoutesConfig#import_custom_routes}
- Parameters:
importCustomRoutes- Whether to import the custom routes to the peer network. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder network(String network)
The name of the primary network for the peering.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#network ComputeNetworkPeeringRoutesConfig#network}
- Parameters:
network- The name of the primary network for the peering. This parameter is required.- Returns:
this
-
peering
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder peering(String peering)
Name of the peering.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#peering ComputeNetworkPeeringRoutesConfig#peering}
- Parameters:
peering- Name of the peering. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#id ComputeNetworkPeeringRoutesConfig#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_peering_routes_config#id ComputeNetworkPeeringRoutesConfig#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#project ComputeNetworkPeeringRoutesConfig#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#project ComputeNetworkPeeringRoutesConfig#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig.Builder timeouts(ComputeNetworkPeeringRoutesConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_peering_routes_config#timeouts ComputeNetworkPeeringRoutesConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ComputeNetworkPeeringRoutesConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeNetworkPeeringRoutesConfig>- Returns:
- a newly built instance of
ComputeNetworkPeeringRoutesConfig.
-
-