Class CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_job.CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces>
- Enclosing interface:
- CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces
@Stability(Stable) public static final class CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces>
A builder forCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfacesbuild()Builds the configured instance.CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Buildernetwork(String network)Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.getNetwork()CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Buildersubnetwork(String subnetwork)Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.getSubnetwork()CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Buildertags(List<String> tags)Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.getTags()
-
-
-
Method Detail
-
network
@Stability(Stable) public CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder network(String network)
Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.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_job#network CloudRunV2Job#network}- Returns:
this
-
subnetwork
@Stability(Stable) public CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder subnetwork(String subnetwork)
Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.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_job#subnetwork CloudRunV2Job#subnetwork}- Returns:
this
-
tags
@Stability(Stable) public CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.Builder tags(List<String> tags)
Sets the value ofCloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces.getTags()- Parameters:
tags- Network tags applied to this Cloud Run job. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#tags CloudRunV2Job#tags}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces>- Returns:
- a new instance of
CloudRunV2JobTemplateTemplateVpcAccessNetworkInterfaces - Throws:
NullPointerException- if any required attribute was not provided
-
-