Class NetworkConnectivitySpokeLinkedVpcNetwork.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_connectivity_spoke.NetworkConnectivitySpokeLinkedVpcNetwork.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkConnectivitySpokeLinkedVpcNetwork>
- Enclosing interface:
- NetworkConnectivitySpokeLinkedVpcNetwork
@Stability(Stable) public static final class NetworkConnectivitySpokeLinkedVpcNetwork.Builder extends Object implements software.amazon.jsii.Builder<NetworkConnectivitySpokeLinkedVpcNetwork>
A builder forNetworkConnectivitySpokeLinkedVpcNetwork
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConnectivitySpokeLinkedVpcNetworkbuild()Builds the configured instance.NetworkConnectivitySpokeLinkedVpcNetwork.BuilderexcludeExportRanges(List<String> excludeExportRanges)Sets the value ofNetworkConnectivitySpokeLinkedVpcNetwork.getExcludeExportRanges()NetworkConnectivitySpokeLinkedVpcNetwork.Builderuri(String uri)Sets the value ofNetworkConnectivitySpokeLinkedVpcNetwork.getUri()
-
-
-
Method Detail
-
uri
@Stability(Stable) public NetworkConnectivitySpokeLinkedVpcNetwork.Builder uri(String uri)
Sets the value ofNetworkConnectivitySpokeLinkedVpcNetwork.getUri()- Parameters:
uri- The URI of the VPC network resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_spoke#uri NetworkConnectivitySpoke#uri}- Returns:
this
-
excludeExportRanges
@Stability(Stable) public NetworkConnectivitySpokeLinkedVpcNetwork.Builder excludeExportRanges(List<String> excludeExportRanges)
Sets the value ofNetworkConnectivitySpokeLinkedVpcNetwork.getExcludeExportRanges()- Parameters:
excludeExportRanges- IP ranges encompassing the subnets to be excluded from peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_connectivity_spoke#exclude_export_ranges NetworkConnectivitySpoke#exclude_export_ranges}- Returns:
this
-
build
@Stability(Stable) public NetworkConnectivitySpokeLinkedVpcNetwork build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkConnectivitySpokeLinkedVpcNetwork>- Returns:
- a new instance of
NetworkConnectivitySpokeLinkedVpcNetwork - Throws:
NullPointerException- if any required attribute was not provided
-
-