Class ServiceNetworkingVpcServiceControlsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.service_networking_vpc_service_controls.ServiceNetworkingVpcServiceControlsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceNetworkingVpcServiceControlsConfig>
- Enclosing interface:
- ServiceNetworkingVpcServiceControlsConfig
@Stability(Stable) public static final class ServiceNetworkingVpcServiceControlsConfig.Builder extends Object implements software.amazon.jsii.Builder<ServiceNetworkingVpcServiceControlsConfig>
A builder forServiceNetworkingVpcServiceControlsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enabled
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder enabled(Boolean enabled)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getEnabled()- Parameters:
enabled- Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required. 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}- Returns:
this
-
enabled
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getEnabled()- Parameters:
enabled- Desired VPC Service Controls state service producer VPC network, as described at the top of this page. This parameter is required. 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}- Returns:
this
-
network
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder network(String network)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getNetwork()- Parameters:
network- The network that the consumer is using to connect with services. This parameter is required. 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}- Returns:
this
-
service
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder service(String service)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getService()- Parameters:
service- The service that is managing peering connectivity for a service producer's organization. This parameter is required. 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}- Returns:
this
-
id
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder id(String id)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getId()- 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}. 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
-
project
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder project(String project)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getProject()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig.Builder timeouts(ServiceNetworkingVpcServiceControlsTimeouts timeouts)
Sets the value ofServiceNetworkingVpcServiceControlsConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.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 ServiceNetworkingVpcServiceControlsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ServiceNetworkingVpcServiceControlsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceNetworkingVpcServiceControlsConfig>- Returns:
- a new instance of
ServiceNetworkingVpcServiceControlsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-