Class ServiceNetworkingVpcServiceControls.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.service_networking_vpc_service_controls.ServiceNetworkingVpcServiceControls.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceNetworkingVpcServiceControls>
- Enclosing class:
- ServiceNetworkingVpcServiceControls
@Stability(Stable) public static final class ServiceNetworkingVpcServiceControls.Builder extends Object implements software.amazon.jsii.Builder<ServiceNetworkingVpcServiceControls>
A fluent builder forServiceNetworkingVpcServiceControls.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceNetworkingVpcServiceControlsbuild()ServiceNetworkingVpcServiceControls.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ServiceNetworkingVpcServiceControls.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ServiceNetworkingVpcServiceControls.Buildercount(com.hashicorp.cdktf.TerraformCount count)ServiceNetworkingVpcServiceControls.Buildercount(Number count)static ServiceNetworkingVpcServiceControls.Buildercreate(software.constructs.Construct scope, String id)ServiceNetworkingVpcServiceControls.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ServiceNetworkingVpcServiceControls.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Desired VPC Service Controls state service producer VPC network, as described at the top of this page.ServiceNetworkingVpcServiceControls.Builderenabled(Boolean enabled)Desired VPC Service Controls state service producer VPC network, as described at the top of this page.ServiceNetworkingVpcServiceControls.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ServiceNetworkingVpcServiceControls.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#id ServiceNetworkingVpcServiceControls#id}.ServiceNetworkingVpcServiceControls.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ServiceNetworkingVpcServiceControls.Buildernetwork(String network)The network that the consumer is using to connect with services.ServiceNetworkingVpcServiceControls.Builderproject(String project)The id of the Google Cloud project containing the consumer network.ServiceNetworkingVpcServiceControls.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ServiceNetworkingVpcServiceControls.Builderprovisioners(List<? extends Object> provisioners)ServiceNetworkingVpcServiceControls.Builderservice(String service)The service that is managing peering connectivity for a service producer's organization.ServiceNetworkingVpcServiceControls.Buildertimeouts(ServiceNetworkingVpcServiceControlsTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ServiceNetworkingVpcServiceControls.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
ServiceNetworkingVpcServiceControls.Builder.
-
connection
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ServiceNetworkingVpcServiceControls.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder enabled(Boolean enabled)
Desired VPC Service Controls state service producer VPC network, as described at the top of this page.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#enabled ServiceNetworkingVpcServiceControls#enabled}
- Parameters:
enabled- Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Desired VPC Service Controls state service producer VPC network, as described at the top of this page.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#enabled ServiceNetworkingVpcServiceControls#enabled}
- Parameters:
enabled- Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder network(String network)
The network that the consumer is using to connect with services.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#network ServiceNetworkingVpcServiceControls#network}
- Parameters:
network- The network that the consumer is using to connect with services. This parameter is required.- Returns:
this
-
service
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder service(String service)
The service that is managing peering connectivity for a service producer's organization.For Google services that support this functionality, this value is 'servicenetworking.googleapis.com'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#service ServiceNetworkingVpcServiceControls#service}
- Parameters:
service- The service that is managing peering connectivity for a service producer's organization. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#id ServiceNetworkingVpcServiceControls#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_vpc_service_controls#id ServiceNetworkingVpcServiceControls#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder project(String project)
The id of the Google Cloud project containing the consumer network.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#project ServiceNetworkingVpcServiceControls#project}
- Parameters:
project- The id of the Google Cloud project containing the consumer network. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ServiceNetworkingVpcServiceControls.Builder timeouts(ServiceNetworkingVpcServiceControlsTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_vpc_service_controls#timeouts ServiceNetworkingVpcServiceControls#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ServiceNetworkingVpcServiceControls build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceNetworkingVpcServiceControls>- Returns:
- a newly built instance of
ServiceNetworkingVpcServiceControls.
-
-