Class CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces>
- Enclosing interface:
- CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces
@Stability(Stable) public static final class CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces>
A builder forCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2ServiceTemplateVpcAccessNetworkInterfacesbuild()Builds the configured instance.CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Buildernetwork(String network)Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getNetwork()CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Buildersubnetwork(String subnetwork)Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getSubnetwork()CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Buildertags(List<String> tags)Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getTags()
-
-
-
Method Detail
-
network
@Stability(Stable) public CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder network(String network)
Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getNetwork()- Parameters:
network- The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#network CloudRunV2Service#network}- Returns:
this
-
subnetwork
@Stability(Stable) public CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder subnetwork(String subnetwork)
Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getSubnetwork()- Parameters:
subnetwork- The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#subnetwork CloudRunV2Service#subnetwork}- Returns:
this
-
tags
@Stability(Stable) public CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.Builder tags(List<String> tags)
Sets the value ofCloudRunV2ServiceTemplateVpcAccessNetworkInterfaces.getTags()- Parameters:
tags- Network tags applied to this Cloud Run service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#tags CloudRunV2Service#tags}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces>- Returns:
- a new instance of
CloudRunV2ServiceTemplateVpcAccessNetworkInterfaces - Throws:
NullPointerException- if any required attribute was not provided
-
-