Class NetworkSecurityFirewallEndpointAssociationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_security_firewall_endpoint_association.NetworkSecurityFirewallEndpointAssociationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkSecurityFirewallEndpointAssociationConfig>
- Enclosing interface:
- NetworkSecurityFirewallEndpointAssociationConfig
@Stability(Stable) public static final class NetworkSecurityFirewallEndpointAssociationConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkSecurityFirewallEndpointAssociationConfig>
A builder forNetworkSecurityFirewallEndpointAssociationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
firewallEndpoint
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder firewallEndpoint(String firewallEndpoint)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getFirewallEndpoint()- Parameters:
firewallEndpoint- The URL of the firewall endpoint that is being associated. 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_association#firewall_endpoint NetworkSecurityFirewallEndpointAssociation#firewall_endpoint}- Returns:
this
-
location
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder location(String location)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getLocation()- Parameters:
location- The location (zone) of the firewall endpoint association. 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_association#location NetworkSecurityFirewallEndpointAssociation#location}- Returns:
this
-
name
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder name(String name)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getName()- Parameters:
name- The name of the firewall endpoint association 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_association#name NetworkSecurityFirewallEndpointAssociation#name}- Returns:
this
-
network
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder network(String network)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getNetwork()- Parameters:
network- The URL of the network that is being associated. 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_association#network NetworkSecurityFirewallEndpointAssociation#network}- Returns:
this
-
disabled
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder disabled(Boolean disabled)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getDisabled()- Parameters:
disabled- Whether the association is disabled. True indicates that traffic will not be intercepted. ~> **Note:** The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint_association#disabled NetworkSecurityFirewallEndpointAssociation#disabled}- Returns:
this
-
disabled
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder disabled(com.hashicorp.cdktf.IResolvable disabled)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getDisabled()- Parameters:
disabled- Whether the association is disabled. True indicates that traffic will not be intercepted. ~> **Note:** The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint_association#disabled NetworkSecurityFirewallEndpointAssociation#disabled}- Returns:
this
-
id
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder id(String id)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint_association#id NetworkSecurityFirewallEndpointAssociation#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 NetworkSecurityFirewallEndpointAssociationConfig.Builder labels(Map<String,String> labels)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.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_association#labels NetworkSecurityFirewallEndpointAssociation#labels}- Returns:
this
-
parent
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder parent(String parent)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.getParent()- Parameters:
parent- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint_association#parent NetworkSecurityFirewallEndpointAssociation#parent}- Returns:
this
-
timeouts
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder timeouts(NetworkSecurityFirewallEndpointAssociationTimeouts timeouts)
Sets the value ofNetworkSecurityFirewallEndpointAssociationConfig.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_association#timeouts NetworkSecurityFirewallEndpointAssociation#timeouts}- Returns:
this
-
tlsInspectionPolicy
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig.Builder tlsInspectionPolicy(String tlsInspectionPolicy)
- Parameters:
tlsInspectionPolicy- The URL of the TlsInspectionPolicy that is being associated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_firewall_endpoint_association#tls_inspection_policy NetworkSecurityFirewallEndpointAssociation#tls_inspection_policy}- Returns:
this
-
connection
@Stability(Experimental) public NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.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 NetworkSecurityFirewallEndpointAssociationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkSecurityFirewallEndpointAssociationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkSecurityFirewallEndpointAssociationConfig>- Returns:
- a new instance of
NetworkSecurityFirewallEndpointAssociationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-