Class ServiceNetworkingConnection.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.service_networking_connection.ServiceNetworkingConnection.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceNetworkingConnection>
- Enclosing class:
- ServiceNetworkingConnection
@Stability(Stable) public static final class ServiceNetworkingConnection.Builder extends Object implements software.amazon.jsii.Builder<ServiceNetworkingConnection>
A fluent builder forServiceNetworkingConnection.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceNetworkingConnectionbuild()ServiceNetworkingConnection.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ServiceNetworkingConnection.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ServiceNetworkingConnection.Buildercount(com.hashicorp.cdktf.TerraformCount count)ServiceNetworkingConnection.Buildercount(Number count)static ServiceNetworkingConnection.Buildercreate(software.constructs.Construct scope, String id)ServiceNetworkingConnection.BuilderdeletionPolicy(String deletionPolicy)When set to ABANDON, terraform will abandon management of the resource instead of deleting it.ServiceNetworkingConnection.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ServiceNetworkingConnection.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ServiceNetworkingConnection.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#id ServiceNetworkingConnection#id}.ServiceNetworkingConnection.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ServiceNetworkingConnection.Buildernetwork(String network)Name of VPC network connected with service producers using VPC peering.ServiceNetworkingConnection.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ServiceNetworkingConnection.Builderprovisioners(List<? extends Object> provisioners)ServiceNetworkingConnection.BuilderreservedPeeringRanges(List<String> reservedPeeringRanges)Named IP address range(s) of PEERING type reserved for this service provider.ServiceNetworkingConnection.Builderservice(String service)Provider peering service that is managing peering connectivity for a service provider organization.ServiceNetworkingConnection.Buildertimeouts(ServiceNetworkingConnectionTimeouts timeouts)timeouts block.ServiceNetworkingConnection.BuilderupdateOnCreationFail(com.hashicorp.cdktf.IResolvable updateOnCreationFail)When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.ServiceNetworkingConnection.BuilderupdateOnCreationFail(Boolean updateOnCreationFail)When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ServiceNetworkingConnection.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
ServiceNetworkingConnection.Builder.
-
connection
@Stability(Experimental) public ServiceNetworkingConnection.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ServiceNetworkingConnection.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingConnection.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingConnection.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ServiceNetworkingConnection.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ServiceNetworkingConnection.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ServiceNetworkingConnection.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ServiceNetworkingConnection.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ServiceNetworkingConnection.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
network
@Stability(Stable) public ServiceNetworkingConnection.Builder network(String network)
Name of VPC network connected with service producers using VPC peering.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#network ServiceNetworkingConnection#network}
- Parameters:
network- Name of VPC network connected with service producers using VPC peering. This parameter is required.- Returns:
this
-
reservedPeeringRanges
@Stability(Stable) public ServiceNetworkingConnection.Builder reservedPeeringRanges(List<String> reservedPeeringRanges)
Named IP address range(s) of PEERING type reserved for this service provider.Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#reserved_peering_ranges ServiceNetworkingConnection#reserved_peering_ranges}
- Parameters:
reservedPeeringRanges- Named IP address range(s) of PEERING type reserved for this service provider. This parameter is required.- Returns:
this
-
service
@Stability(Stable) public ServiceNetworkingConnection.Builder service(String service)
Provider peering service that is managing peering connectivity for a service provider organization.For Google services that support this functionality it is 'servicenetworking.googleapis.com'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#service ServiceNetworkingConnection#service}
- Parameters:
service- Provider peering service that is managing peering connectivity for a service provider organization. This parameter is required.- Returns:
this
-
deletionPolicy
@Stability(Stable) public ServiceNetworkingConnection.Builder deletionPolicy(String deletionPolicy)
When set to ABANDON, terraform will abandon management of the resource instead of deleting it.Prevents terraform apply failures with CloudSQL. Note: The resource will still exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#deletion_policy ServiceNetworkingConnection#deletion_policy}
- Parameters:
deletionPolicy- When set to ABANDON, terraform will abandon management of the resource instead of deleting it. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ServiceNetworkingConnection.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#id ServiceNetworkingConnection#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/service_networking_connection#id ServiceNetworkingConnection#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ServiceNetworkingConnection.Builder timeouts(ServiceNetworkingConnectionTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#timeouts ServiceNetworkingConnection#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
updateOnCreationFail
@Stability(Stable) public ServiceNetworkingConnection.Builder updateOnCreationFail(Boolean updateOnCreationFail)
When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#update_on_creation_fail ServiceNetworkingConnection#update_on_creation_fail}
- Parameters:
updateOnCreationFail- When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure. This parameter is required.- Returns:
this
-
updateOnCreationFail
@Stability(Stable) public ServiceNetworkingConnection.Builder updateOnCreationFail(com.hashicorp.cdktf.IResolvable updateOnCreationFail)
When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_connection#update_on_creation_fail ServiceNetworkingConnection#update_on_creation_fail}
- Parameters:
updateOnCreationFail- When set to true, enforce an update of the reserved peering ranges on the existing service networking connection in case of a new connection creation failure. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ServiceNetworkingConnection build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceNetworkingConnection>- Returns:
- a newly built instance of
ServiceNetworkingConnection.
-
-