Class VmwareengineNetworkPeering.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vmwareengine_network_peering.VmwareengineNetworkPeering.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VmwareengineNetworkPeering>
- Enclosing class:
- VmwareengineNetworkPeering
@Stability(Stable) public static final class VmwareengineNetworkPeering.Builder extends Object implements software.amazon.jsii.Builder<VmwareengineNetworkPeering>
A fluent builder forVmwareengineNetworkPeering.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VmwareengineNetworkPeeringbuild()VmwareengineNetworkPeering.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)VmwareengineNetworkPeering.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)VmwareengineNetworkPeering.Buildercount(com.hashicorp.cdktf.TerraformCount count)VmwareengineNetworkPeering.Buildercount(Number count)static VmwareengineNetworkPeering.Buildercreate(software.constructs.Construct scope, String id)VmwareengineNetworkPeering.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)VmwareengineNetworkPeering.Builderdescription(String description)User-provided description for this network peering.VmwareengineNetworkPeering.BuilderexportCustomRoutes(com.hashicorp.cdktf.IResolvable exportCustomRoutes)True if custom routes are exported to the peered network; false otherwise.VmwareengineNetworkPeering.BuilderexportCustomRoutes(Boolean exportCustomRoutes)True if custom routes are exported to the peered network; false otherwise.VmwareengineNetworkPeering.BuilderexportCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable exportCustomRoutesWithPublicIp)True if all subnet routes with a public IP address range are exported; false otherwise.VmwareengineNetworkPeering.BuilderexportCustomRoutesWithPublicIp(Boolean exportCustomRoutesWithPublicIp)True if all subnet routes with a public IP address range are exported; false otherwise.VmwareengineNetworkPeering.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)VmwareengineNetworkPeering.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#id VmwareengineNetworkPeering#id}.VmwareengineNetworkPeering.BuilderimportCustomRoutes(com.hashicorp.cdktf.IResolvable importCustomRoutes)True if custom routes are imported from the peered network; false otherwise.VmwareengineNetworkPeering.BuilderimportCustomRoutes(Boolean importCustomRoutes)True if custom routes are imported from the peered network; false otherwise.VmwareengineNetworkPeering.BuilderimportCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable importCustomRoutesWithPublicIp)True if custom routes are imported from the peered network; false otherwise.VmwareengineNetworkPeering.BuilderimportCustomRoutesWithPublicIp(Boolean importCustomRoutesWithPublicIp)True if custom routes are imported from the peered network; false otherwise.VmwareengineNetworkPeering.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)VmwareengineNetworkPeering.Buildername(String name)The ID of the Network Peering.VmwareengineNetworkPeering.BuilderpeerNetwork(String peerNetwork)The relative resource name of the network to peer with a standard VMware Engine network.VmwareengineNetworkPeering.BuilderpeerNetworkType(String peerNetworkType)The type of the network to peer with the VMware Engine network.VmwareengineNetworkPeering.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#project VmwareengineNetworkPeering#project}.VmwareengineNetworkPeering.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)VmwareengineNetworkPeering.Builderprovisioners(List<? extends Object> provisioners)VmwareengineNetworkPeering.Buildertimeouts(VmwareengineNetworkPeeringTimeouts timeouts)timeouts block.VmwareengineNetworkPeering.BuildervmwareEngineNetwork(String vmwareEngineNetwork)The relative resource name of the VMware Engine network.
-
-
-
Method Detail
-
create
@Stability(Stable) public static VmwareengineNetworkPeering.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
VmwareengineNetworkPeering.Builder.
-
connection
@Stability(Experimental) public VmwareengineNetworkPeering.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public VmwareengineNetworkPeering.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineNetworkPeering.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineNetworkPeering.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public VmwareengineNetworkPeering.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public VmwareengineNetworkPeering.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public VmwareengineNetworkPeering.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public VmwareengineNetworkPeering.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public VmwareengineNetworkPeering.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public VmwareengineNetworkPeering.Builder name(String name)
The ID of the Network Peering.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#name VmwareengineNetworkPeering#name}
- Parameters:
name- The ID of the Network Peering. This parameter is required.- Returns:
this
-
peerNetwork
@Stability(Stable) public VmwareengineNetworkPeering.Builder peerNetwork(String peerNetwork)
The relative resource name of the network to peer with a standard VMware Engine network.The provided network can be a consumer VPC network or another standard VMware Engine network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#peer_network VmwareengineNetworkPeering#peer_network}
- Parameters:
peerNetwork- The relative resource name of the network to peer with a standard VMware Engine network. This parameter is required.- Returns:
this
-
peerNetworkType
@Stability(Stable) public VmwareengineNetworkPeering.Builder peerNetworkType(String peerNetworkType)
The type of the network to peer with the VMware Engine network.Possible values: ["STANDARD", "VMWARE_ENGINE_NETWORK", "PRIVATE_SERVICES_ACCESS", "NETAPP_CLOUD_VOLUMES", "THIRD_PARTY_SERVICE", "DELL_POWERSCALE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#peer_network_type VmwareengineNetworkPeering#peer_network_type}
- Parameters:
peerNetworkType- The type of the network to peer with the VMware Engine network. This parameter is required.- Returns:
this
-
vmwareEngineNetwork
@Stability(Stable) public VmwareengineNetworkPeering.Builder vmwareEngineNetwork(String vmwareEngineNetwork)
The relative resource name of the VMware Engine network.Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#vmware_engine_network VmwareengineNetworkPeering#vmware_engine_network}
- Parameters:
vmwareEngineNetwork- The relative resource name of the VMware Engine network. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public VmwareengineNetworkPeering.Builder description(String description)
User-provided description for this network peering.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#description VmwareengineNetworkPeering#description}
- Parameters:
description- User-provided description for this network peering. This parameter is required.- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeering.Builder exportCustomRoutes(Boolean exportCustomRoutes)
True if custom routes are exported to the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#export_custom_routes VmwareengineNetworkPeering#export_custom_routes}
- Parameters:
exportCustomRoutes- True if custom routes are exported to the peered network; false otherwise. This parameter is required.- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeering.Builder exportCustomRoutes(com.hashicorp.cdktf.IResolvable exportCustomRoutes)
True if custom routes are exported to the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#export_custom_routes VmwareengineNetworkPeering#export_custom_routes}
- Parameters:
exportCustomRoutes- True if custom routes are exported to the peered network; false otherwise. This parameter is required.- Returns:
this
-
exportCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeering.Builder exportCustomRoutesWithPublicIp(Boolean exportCustomRoutesWithPublicIp)
True if all subnet routes with a public IP address range are exported; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#export_custom_routes_with_public_ip VmwareengineNetworkPeering#export_custom_routes_with_public_ip}
- Parameters:
exportCustomRoutesWithPublicIp- True if all subnet routes with a public IP address range are exported; false otherwise. This parameter is required.- Returns:
this
-
exportCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeering.Builder exportCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable exportCustomRoutesWithPublicIp)
True if all subnet routes with a public IP address range are exported; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#export_custom_routes_with_public_ip VmwareengineNetworkPeering#export_custom_routes_with_public_ip}
- Parameters:
exportCustomRoutesWithPublicIp- True if all subnet routes with a public IP address range are exported; false otherwise. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public VmwareengineNetworkPeering.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#id VmwareengineNetworkPeering#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/vmwareengine_network_peering#id VmwareengineNetworkPeering#id}. This parameter is required.- Returns:
this
-
importCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeering.Builder importCustomRoutes(Boolean importCustomRoutes)
True if custom routes are imported from the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#import_custom_routes VmwareengineNetworkPeering#import_custom_routes}
- Parameters:
importCustomRoutes- True if custom routes are imported from the peered network; false otherwise. This parameter is required.- Returns:
this
-
importCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeering.Builder importCustomRoutes(com.hashicorp.cdktf.IResolvable importCustomRoutes)
True if custom routes are imported from the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#import_custom_routes VmwareengineNetworkPeering#import_custom_routes}
- Parameters:
importCustomRoutes- True if custom routes are imported from the peered network; false otherwise. This parameter is required.- Returns:
this
-
importCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeering.Builder importCustomRoutesWithPublicIp(Boolean importCustomRoutesWithPublicIp)
True if custom routes are imported from the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#import_custom_routes_with_public_ip VmwareengineNetworkPeering#import_custom_routes_with_public_ip}
- Parameters:
importCustomRoutesWithPublicIp- True if custom routes are imported from the peered network; false otherwise. This parameter is required.- Returns:
this
-
importCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeering.Builder importCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable importCustomRoutesWithPublicIp)
True if custom routes are imported from the peered network; false otherwise.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#import_custom_routes_with_public_ip VmwareengineNetworkPeering#import_custom_routes_with_public_ip}
- Parameters:
importCustomRoutesWithPublicIp- True if custom routes are imported from the peered network; false otherwise. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public VmwareengineNetworkPeering.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#project VmwareengineNetworkPeering#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#project VmwareengineNetworkPeering#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public VmwareengineNetworkPeering.Builder timeouts(VmwareengineNetworkPeeringTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#timeouts VmwareengineNetworkPeering#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public VmwareengineNetworkPeering build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VmwareengineNetworkPeering>- Returns:
- a newly built instance of
VmwareengineNetworkPeering.
-
-