Class ComputeNetworkFirewallPolicyRuleMatch.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_network_firewall_policy_rule.ComputeNetworkFirewallPolicyRuleMatch.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeNetworkFirewallPolicyRuleMatch>
- Enclosing interface:
- ComputeNetworkFirewallPolicyRuleMatch
@Stability(Stable) public static final class ComputeNetworkFirewallPolicyRuleMatch.Builder extends Object implements software.amazon.jsii.Builder<ComputeNetworkFirewallPolicyRuleMatch>
A builder forComputeNetworkFirewallPolicyRuleMatch
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
layer4Configs
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder layer4Configs(com.hashicorp.cdktf.IResolvable layer4Configs)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getLayer4Configs()- Parameters:
layer4Configs- layer4_configs block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#layer4_configs ComputeNetworkFirewallPolicyRule#layer4_configs}- Returns:
this
-
layer4Configs
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder layer4Configs(List<? extends ComputeNetworkFirewallPolicyRuleMatchLayer4Configs> layer4Configs)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getLayer4Configs()- Parameters:
layer4Configs- layer4_configs block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#layer4_configs ComputeNetworkFirewallPolicyRule#layer4_configs}- Returns:
this
-
destAddressGroups
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder destAddressGroups(List<String> destAddressGroups)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getDestAddressGroups()- Parameters:
destAddressGroups- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. Destination address groups is only supported in Egress rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#dest_address_groups ComputeNetworkFirewallPolicyRule#dest_address_groups}- Returns:
this
-
destFqdns
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder destFqdns(List<String> destFqdns)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getDestFqdns()- Parameters:
destFqdns- Domain names that will be used to match against the resolved domain name of destination of traffic. Can only be specified if DIRECTION is egress. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#dest_fqdns ComputeNetworkFirewallPolicyRule#dest_fqdns}- Returns:
this
-
destIpRanges
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder destIpRanges(List<String> destIpRanges)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getDestIpRanges()- Parameters:
destIpRanges- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#dest_ip_ranges ComputeNetworkFirewallPolicyRule#dest_ip_ranges}- Returns:
this
-
destRegionCodes
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder destRegionCodes(List<String> destRegionCodes)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getDestRegionCodes()- Parameters:
destRegionCodes- The Unicode country codes whose IP addresses will be used to match against the source of traffic. Can only be specified if DIRECTION is egress. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#dest_region_codes ComputeNetworkFirewallPolicyRule#dest_region_codes}- Returns:
this
-
destThreatIntelligences
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder destThreatIntelligences(List<String> destThreatIntelligences)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getDestThreatIntelligences()- Parameters:
destThreatIntelligences- Name of the Google Cloud Threat Intelligence list. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#dest_threat_intelligences ComputeNetworkFirewallPolicyRule#dest_threat_intelligences}- Returns:
this
-
srcAddressGroups
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcAddressGroups(List<String> srcAddressGroups)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcAddressGroups()- Parameters:
srcAddressGroups- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10. Source address groups is only supported in Ingress rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_address_groups ComputeNetworkFirewallPolicyRule#src_address_groups}- Returns:
this
-
srcFqdns
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcFqdns(List<String> srcFqdns)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcFqdns()- Parameters:
srcFqdns- Domain names that will be used to match against the resolved domain name of source of traffic. Can only be specified if DIRECTION is ingress. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_fqdns ComputeNetworkFirewallPolicyRule#src_fqdns}- Returns:
this
-
srcIpRanges
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcIpRanges(List<String> srcIpRanges)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcIpRanges()- Parameters:
srcIpRanges- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_ip_ranges ComputeNetworkFirewallPolicyRule#src_ip_ranges}- Returns:
this
-
srcRegionCodes
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcRegionCodes(List<String> srcRegionCodes)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcRegionCodes()- Parameters:
srcRegionCodes- The Unicode country codes whose IP addresses will be used to match against the source of traffic. Can only be specified if DIRECTION is ingress. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_region_codes ComputeNetworkFirewallPolicyRule#src_region_codes}- Returns:
this
-
srcSecureTags
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcSecureTags(com.hashicorp.cdktf.IResolvable srcSecureTags)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcSecureTags()- Parameters:
srcSecureTags- src_secure_tags block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_secure_tags ComputeNetworkFirewallPolicyRule#src_secure_tags}- Returns:
this
-
srcSecureTags
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcSecureTags(List<? extends ComputeNetworkFirewallPolicyRuleMatchSrcSecureTags> srcSecureTags)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcSecureTags()- Parameters:
srcSecureTags- src_secure_tags block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_secure_tags ComputeNetworkFirewallPolicyRule#src_secure_tags}- Returns:
this
-
srcThreatIntelligences
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch.Builder srcThreatIntelligences(List<String> srcThreatIntelligences)
Sets the value ofComputeNetworkFirewallPolicyRuleMatch.getSrcThreatIntelligences()- Parameters:
srcThreatIntelligences- Name of the Google Cloud Threat Intelligence list. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule#src_threat_intelligences ComputeNetworkFirewallPolicyRule#src_threat_intelligences}- Returns:
this
-
build
@Stability(Stable) public ComputeNetworkFirewallPolicyRuleMatch build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeNetworkFirewallPolicyRuleMatch>- Returns:
- a new instance of
ComputeNetworkFirewallPolicyRuleMatch - Throws:
NullPointerException- if any required attribute was not provided
-
-