Class VmwareengineNetworkPeeringConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vmwareengine_network_peering.VmwareengineNetworkPeeringConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VmwareengineNetworkPeeringConfig>
- Enclosing interface:
- VmwareengineNetworkPeeringConfig
@Stability(Stable) public static final class VmwareengineNetworkPeeringConfig.Builder extends Object implements software.amazon.jsii.Builder<VmwareengineNetworkPeeringConfig>
A builder forVmwareengineNetworkPeeringConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder name(String name)
Sets the value ofVmwareengineNetworkPeeringConfig.getName()- Parameters:
name- The ID of the Network Peering. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_peering#name VmwareengineNetworkPeering#name}- Returns:
this
-
peerNetwork
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder peerNetwork(String peerNetwork)
Sets the value ofVmwareengineNetworkPeeringConfig.getPeerNetwork()- Parameters:
peerNetwork- The relative resource name of the network to peer with a standard VMware Engine network. This parameter is required. 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}- Returns:
this
-
peerNetworkType
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder peerNetworkType(String peerNetworkType)
Sets the value ofVmwareengineNetworkPeeringConfig.getPeerNetworkType()- Parameters:
peerNetworkType- The type of the network to peer with the VMware Engine network. This parameter is required. 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}- Returns:
this
-
vmwareEngineNetwork
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder vmwareEngineNetwork(String vmwareEngineNetwork)
Sets the value ofVmwareengineNetworkPeeringConfig.getVmwareEngineNetwork()- Parameters:
vmwareEngineNetwork- The relative resource name of the VMware Engine network. This parameter is required. 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}- Returns:
this
-
description
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder description(String description)
Sets the value ofVmwareengineNetworkPeeringConfig.getDescription()- Parameters:
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}- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder exportCustomRoutes(Boolean exportCustomRoutes)
Sets the value ofVmwareengineNetworkPeeringConfig.getExportCustomRoutes()- Parameters:
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}- Returns:
this
-
exportCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder exportCustomRoutes(com.hashicorp.cdktf.IResolvable exportCustomRoutes)
Sets the value ofVmwareengineNetworkPeeringConfig.getExportCustomRoutes()- Parameters:
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}- Returns:
this
-
exportCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder exportCustomRoutesWithPublicIp(Boolean exportCustomRoutesWithPublicIp)
Sets the value ofVmwareengineNetworkPeeringConfig.getExportCustomRoutesWithPublicIp()- Parameters:
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}- Returns:
this
-
exportCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder exportCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable exportCustomRoutesWithPublicIp)
Sets the value ofVmwareengineNetworkPeeringConfig.getExportCustomRoutesWithPublicIp()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder id(String id)
Sets the value ofVmwareengineNetworkPeeringConfig.getId()- 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}. 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
-
importCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder importCustomRoutes(Boolean importCustomRoutes)
Sets the value ofVmwareengineNetworkPeeringConfig.getImportCustomRoutes()- Parameters:
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}- Returns:
this
-
importCustomRoutes
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder importCustomRoutes(com.hashicorp.cdktf.IResolvable importCustomRoutes)
Sets the value ofVmwareengineNetworkPeeringConfig.getImportCustomRoutes()- Parameters:
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}- Returns:
this
-
importCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder importCustomRoutesWithPublicIp(Boolean importCustomRoutesWithPublicIp)
Sets the value ofVmwareengineNetworkPeeringConfig.getImportCustomRoutesWithPublicIp()- Parameters:
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}- Returns:
this
-
importCustomRoutesWithPublicIp
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder importCustomRoutesWithPublicIp(com.hashicorp.cdktf.IResolvable importCustomRoutesWithPublicIp)
Sets the value ofVmwareengineNetworkPeeringConfig.getImportCustomRoutesWithPublicIp()- Parameters:
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}- Returns:
this
-
project
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder project(String project)
Sets the value ofVmwareengineNetworkPeeringConfig.getProject()- 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}.- Returns:
this
-
timeouts
@Stability(Stable) public VmwareengineNetworkPeeringConfig.Builder timeouts(VmwareengineNetworkPeeringTimeouts timeouts)
Sets the value ofVmwareengineNetworkPeeringConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public VmwareengineNetworkPeeringConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VmwareengineNetworkPeeringConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VmwareengineNetworkPeeringConfig>- Returns:
- a new instance of
VmwareengineNetworkPeeringConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-