Class ComputeRegionNetworkFirewallPolicyRuleMatch.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_network_firewall_policy_rule.ComputeRegionNetworkFirewallPolicyRuleMatch.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionNetworkFirewallPolicyRuleMatch>
- Enclosing interface:
- ComputeRegionNetworkFirewallPolicyRuleMatch
@Stability(Stable) public static final class ComputeRegionNetworkFirewallPolicyRuleMatch.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionNetworkFirewallPolicyRuleMatch>
A builder forComputeRegionNetworkFirewallPolicyRuleMatch
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
layer4Configs
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder layer4Configs(com.hashicorp.cdktf.IResolvable layer4Configs)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#layer4_configs ComputeRegionNetworkFirewallPolicyRule#layer4_configs}- Returns:
this
-
layer4Configs
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder layer4Configs(List<? extends ComputeRegionNetworkFirewallPolicyRuleMatchLayer4Configs> layer4Configs)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#layer4_configs ComputeRegionNetworkFirewallPolicyRule#layer4_configs}- Returns:
this
-
destAddressGroups
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder destAddressGroups(List<String> destAddressGroups)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#dest_address_groups ComputeRegionNetworkFirewallPolicyRule#dest_address_groups}- Returns:
this
-
destFqdns
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder destFqdns(List<String> destFqdns)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#dest_fqdns ComputeRegionNetworkFirewallPolicyRule#dest_fqdns}- Returns:
this
-
destIpRanges
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder destIpRanges(List<String> destIpRanges)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#dest_ip_ranges ComputeRegionNetworkFirewallPolicyRule#dest_ip_ranges}- Returns:
this
-
destRegionCodes
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder destRegionCodes(List<String> destRegionCodes)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#dest_region_codes ComputeRegionNetworkFirewallPolicyRule#dest_region_codes}- Returns:
this
-
destThreatIntelligences
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder destThreatIntelligences(List<String> destThreatIntelligences)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#dest_threat_intelligences ComputeRegionNetworkFirewallPolicyRule#dest_threat_intelligences}- Returns:
this
-
srcAddressGroups
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcAddressGroups(List<String> srcAddressGroups)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_address_groups ComputeRegionNetworkFirewallPolicyRule#src_address_groups}- Returns:
this
-
srcFqdns
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcFqdns(List<String> srcFqdns)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_fqdns ComputeRegionNetworkFirewallPolicyRule#src_fqdns}- Returns:
this
-
srcIpRanges
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcIpRanges(List<String> srcIpRanges)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_ip_ranges ComputeRegionNetworkFirewallPolicyRule#src_ip_ranges}- Returns:
this
-
srcRegionCodes
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcRegionCodes(List<String> srcRegionCodes)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_region_codes ComputeRegionNetworkFirewallPolicyRule#src_region_codes}- Returns:
this
-
srcSecureTags
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcSecureTags(com.hashicorp.cdktf.IResolvable srcSecureTags)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_secure_tags ComputeRegionNetworkFirewallPolicyRule#src_secure_tags}- Returns:
this
-
srcSecureTags
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcSecureTags(List<? extends ComputeRegionNetworkFirewallPolicyRuleMatchSrcSecureTags> srcSecureTags)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_secure_tags ComputeRegionNetworkFirewallPolicyRule#src_secure_tags}- Returns:
this
-
srcThreatIntelligences
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch.Builder srcThreatIntelligences(List<String> srcThreatIntelligences)
Sets the value ofComputeRegionNetworkFirewallPolicyRuleMatch.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_region_network_firewall_policy_rule#src_threat_intelligences ComputeRegionNetworkFirewallPolicyRule#src_threat_intelligences}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionNetworkFirewallPolicyRuleMatch build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionNetworkFirewallPolicyRuleMatch>- Returns:
- a new instance of
ComputeRegionNetworkFirewallPolicyRuleMatch - Throws:
NullPointerException- if any required attribute was not provided
-
-