Class AppEngineFlexibleAppVersionNetwork.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public AppEngineFlexibleAppVersionNetwork.Builder name​(String name)
        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)
        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
      • sessionAffinity

        @Stability(Stable)
        public AppEngineFlexibleAppVersionNetwork.Builder sessionAffinity​(com.hashicorp.cdktf.IResolvable sessionAffinity)
        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)
        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