Class ComputeGlobalNetworkEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_global_network_endpoint.ComputeGlobalNetworkEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeGlobalNetworkEndpointConfig>
- Enclosing interface:
- ComputeGlobalNetworkEndpointConfig
@Stability(Stable) public static final class ComputeGlobalNetworkEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeGlobalNetworkEndpointConfig>
A builder forComputeGlobalNetworkEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
globalNetworkEndpointGroup
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder globalNetworkEndpointGroup(String globalNetworkEndpointGroup)
Sets the value ofComputeGlobalNetworkEndpointConfig.getGlobalNetworkEndpointGroup()- Parameters:
globalNetworkEndpointGroup- The global network endpoint group this endpoint is part of. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#global_network_endpoint_group ComputeGlobalNetworkEndpoint#global_network_endpoint_group}- Returns:
this
-
port
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder port(Number port)
Sets the value ofComputeGlobalNetworkEndpointConfig.getPort()- Parameters:
port- Port number of the external endpoint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#port ComputeGlobalNetworkEndpoint#port}- Returns:
this
-
fqdn
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder fqdn(String fqdn)
Sets the value ofComputeGlobalNetworkEndpointConfig.getFqdn()- Parameters:
fqdn- Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#fqdn ComputeGlobalNetworkEndpoint#fqdn}- Returns:
this
-
id
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder id(String id)
Sets the value ofComputeGlobalNetworkEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#id ComputeGlobalNetworkEndpoint#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.- Returns:
this
-
ipAddress
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder ipAddress(String ipAddress)
Sets the value ofComputeGlobalNetworkEndpointConfig.getIpAddress()- Parameters:
ipAddress- IPv4 address external endpoint. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#ip_address ComputeGlobalNetworkEndpoint#ip_address}- Returns:
this
-
project
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder project(String project)
Sets the value ofComputeGlobalNetworkEndpointConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#project ComputeGlobalNetworkEndpoint#project}.- Returns:
this
-
timeouts
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig.Builder timeouts(ComputeGlobalNetworkEndpointTimeouts timeouts)
Sets the value ofComputeGlobalNetworkEndpointConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_network_endpoint#timeouts ComputeGlobalNetworkEndpoint#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputeGlobalNetworkEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ComputeGlobalNetworkEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeGlobalNetworkEndpointConfig>- Returns:
- a new instance of
ComputeGlobalNetworkEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-