Class ComputeGlobalNetworkEndpointGroup.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_global_network_endpoint_group.ComputeGlobalNetworkEndpointGroup.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeGlobalNetworkEndpointGroup>
- Enclosing class:
- ComputeGlobalNetworkEndpointGroup
@Stability(Stable) public static final class ComputeGlobalNetworkEndpointGroup.Builder extends Object implements software.amazon.jsii.Builder<ComputeGlobalNetworkEndpointGroup>
A fluent builder forComputeGlobalNetworkEndpointGroup.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeGlobalNetworkEndpointGroupbuild()ComputeGlobalNetworkEndpointGroup.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ComputeGlobalNetworkEndpointGroup.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ComputeGlobalNetworkEndpointGroup.Buildercount(com.hashicorp.cdktf.TerraformCount count)ComputeGlobalNetworkEndpointGroup.Buildercount(Number count)static ComputeGlobalNetworkEndpointGroup.Buildercreate(software.constructs.Construct scope, String id)ComputeGlobalNetworkEndpointGroup.BuilderdefaultPort(Number defaultPort)The default port used if the port number is not specified in the network endpoint.ComputeGlobalNetworkEndpointGroup.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ComputeGlobalNetworkEndpointGroup.Builderdescription(String description)An optional description of this resource.ComputeGlobalNetworkEndpointGroup.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ComputeGlobalNetworkEndpointGroup.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#id ComputeGlobalNetworkEndpointGroup#id}.ComputeGlobalNetworkEndpointGroup.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ComputeGlobalNetworkEndpointGroup.Buildername(String name)Name of the resource;ComputeGlobalNetworkEndpointGroup.BuildernetworkEndpointType(String networkEndpointType)Type of network endpoints in this network endpoint group.ComputeGlobalNetworkEndpointGroup.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#project ComputeGlobalNetworkEndpointGroup#project}.ComputeGlobalNetworkEndpointGroup.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ComputeGlobalNetworkEndpointGroup.Builderprovisioners(List<? extends Object> provisioners)ComputeGlobalNetworkEndpointGroup.Buildertimeouts(ComputeGlobalNetworkEndpointGroupTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ComputeGlobalNetworkEndpointGroup.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ComputeGlobalNetworkEndpointGroup.Builder.
-
connection
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputeGlobalNetworkEndpointGroup.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder name(String name)
Name of the resource;provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#name ComputeGlobalNetworkEndpointGroup#name}
- Parameters:
name- Name of the resource;. This parameter is required.- Returns:
this
-
networkEndpointType
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder networkEndpointType(String networkEndpointType)
Type of network endpoints in this network endpoint group. Possible values: ["INTERNET_IP_PORT", "INTERNET_FQDN_PORT"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#network_endpoint_type ComputeGlobalNetworkEndpointGroup#network_endpoint_type}
- Parameters:
networkEndpointType- Type of network endpoints in this network endpoint group. Possible values: ["INTERNET_IP_PORT", "INTERNET_FQDN_PORT"]. This parameter is required.- Returns:
this
-
defaultPort
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder defaultPort(Number defaultPort)
The default port used if the port number is not specified in the network endpoint.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#default_port ComputeGlobalNetworkEndpointGroup#default_port}
- Parameters:
defaultPort- The default port used if the port number is not specified in the network endpoint. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder description(String description)
An optional description of this resource. Provide this property when you create the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#description ComputeGlobalNetworkEndpointGroup#description}
- Parameters:
description- An optional description of this resource. Provide this property when you create the resource. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#id ComputeGlobalNetworkEndpointGroup#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#id ComputeGlobalNetworkEndpointGroup#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#project ComputeGlobalNetworkEndpointGroup#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#project ComputeGlobalNetworkEndpointGroup#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup.Builder timeouts(ComputeGlobalNetworkEndpointGroupTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint_group#timeouts ComputeGlobalNetworkEndpointGroup#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ComputeGlobalNetworkEndpointGroup build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeGlobalNetworkEndpointGroup>- Returns:
- a newly built instance of
ComputeGlobalNetworkEndpointGroup.
-
-