Class VmwareengineNetworkPeeringConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • peerNetwork

        @Stability(Stable)
        public VmwareengineNetworkPeeringConfig.Builder peerNetwork​(String peerNetwork)
        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)
        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)
        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
      • exportCustomRoutes

        @Stability(Stable)
        public VmwareengineNetworkPeeringConfig.Builder exportCustomRoutes​(Boolean exportCustomRoutes)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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
      • connection

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