Class AppEngineFlexibleAppVersionNetwork.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_flexible_app_version.AppEngineFlexibleAppVersionNetwork.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineFlexibleAppVersionNetwork>
- Enclosing interface:
- AppEngineFlexibleAppVersionNetwork
@Stability(Stable) public static final class AppEngineFlexibleAppVersionNetwork.Builder extends Object implements software.amazon.jsii.Builder<AppEngineFlexibleAppVersionNetwork>
A builder forAppEngineFlexibleAppVersionNetwork
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder name(String name)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getName()- Parameters:
name- Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#name AppEngineFlexibleAppVersion#name}- Returns:
this
-
forwardedPorts
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder forwardedPorts(List<String> forwardedPorts)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getForwardedPorts()- Parameters:
forwardedPorts- List of ports, or port pairs, to forward from the virtual machine to the application container. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#forwarded_ports AppEngineFlexibleAppVersion#forwarded_ports}- Returns:
this
-
instanceTag
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder instanceTag(String instanceTag)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getInstanceTag()- Parameters:
instanceTag- Tag to apply to the instance during creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#instance_tag AppEngineFlexibleAppVersion#instance_tag}- Returns:
this
-
sessionAffinity
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder sessionAffinity(Boolean sessionAffinity)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getSessionAffinity()- Parameters:
sessionAffinity- Enable session affinity. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#session_affinity AppEngineFlexibleAppVersion#session_affinity}- Returns:
this
-
sessionAffinity
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder sessionAffinity(com.hashicorp.cdktf.IResolvable sessionAffinity)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getSessionAffinity()- Parameters:
sessionAffinity- Enable session affinity. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#session_affinity AppEngineFlexibleAppVersion#session_affinity}- Returns:
this
-
subnetwork
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork.Builder subnetwork(String subnetwork)
Sets the value ofAppEngineFlexibleAppVersionNetwork.getSubnetwork()- Parameters:
subnetwork- Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetworkName) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetworkName must be specified and the IP address is created from the IPCidrRange of the subnetwork. If specified, the subnetwork must exist in the same region as the App Engine flexible environment application. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#subnetwork AppEngineFlexibleAppVersion#subnetwork}- Returns:
this
-
build
@Stability(Stable) public AppEngineFlexibleAppVersionNetwork build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineFlexibleAppVersionNetwork>- Returns:
- a new instance of
AppEngineFlexibleAppVersionNetwork - Throws:
NullPointerException- if any required attribute was not provided
-
-