Class NetworkSecurityFirewallEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_security_firewall_endpoint.NetworkSecurityFirewallEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkSecurityFirewallEndpointConfig>
- Enclosing interface:
- NetworkSecurityFirewallEndpointConfig
@Stability(Stable) public static final class NetworkSecurityFirewallEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkSecurityFirewallEndpointConfig>
A builder forNetworkSecurityFirewallEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
billingProjectId
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder billingProjectId(String billingProjectId)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getBillingProjectId()- Parameters:
billingProjectId- Project to bill on endpoint uptime usage. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#billing_project_id NetworkSecurityFirewallEndpoint#billing_project_id}- Returns:
this
-
location
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder location(String location)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getLocation()- Parameters:
location- The location (zone) of the firewall endpoint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#location NetworkSecurityFirewallEndpoint#location}- Returns:
this
-
name
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder name(String name)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getName()- Parameters:
name- The name of the firewall endpoint resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#name NetworkSecurityFirewallEndpoint#name}- Returns:
this
-
parent
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder parent(String parent)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getParent()- Parameters:
parent- The name of the parent this firewall endpoint belongs to. Format: organizations/{organization_id}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#parent NetworkSecurityFirewallEndpoint#parent}- Returns:
this
-
id
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder id(String id)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#id NetworkSecurityFirewallEndpoint#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
-
labels
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder labels(Map<String,String> labels)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getLabels()- Parameters:
labels- A map of key/value label pairs to assign to the resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#labels NetworkSecurityFirewallEndpoint#labels}- Returns:
this
-
timeouts
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig.Builder timeouts(NetworkSecurityFirewallEndpointTimeouts timeouts)
Sets the value ofNetworkSecurityFirewallEndpointConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint#timeouts NetworkSecurityFirewallEndpoint#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.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 NetworkSecurityFirewallEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkSecurityFirewallEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkSecurityFirewallEndpointConfig>- Returns:
- a new instance of
NetworkSecurityFirewallEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-