Class ComputeFirewallPolicyRuleMatch.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • layer4Configs

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder layer4Configs​(com.hashicorp.cdktf.IResolvable layer4Configs)
        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_firewall_policy_rule#layer4_configs ComputeFirewallPolicyRule#layer4_configs}
        Returns:
        this
      • destAddressGroups

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder destAddressGroups​(List<String> destAddressGroups)
        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_firewall_policy_rule#dest_address_groups ComputeFirewallPolicyRule#dest_address_groups}
        Returns:
        this
      • destFqdns

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder destFqdns​(List<String> destFqdns)
        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_firewall_policy_rule#dest_fqdns ComputeFirewallPolicyRule#dest_fqdns}
        Returns:
        this
      • destIpRanges

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder destIpRanges​(List<String> destIpRanges)
        Parameters:
        destIpRanges - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#dest_ip_ranges ComputeFirewallPolicyRule#dest_ip_ranges}
        Returns:
        this
      • destRegionCodes

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder destRegionCodes​(List<String> destRegionCodes)
        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_firewall_policy_rule#dest_region_codes ComputeFirewallPolicyRule#dest_region_codes}
        Returns:
        this
      • destThreatIntelligences

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder destThreatIntelligences​(List<String> destThreatIntelligences)
        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_firewall_policy_rule#dest_threat_intelligences ComputeFirewallPolicyRule#dest_threat_intelligences}
        Returns:
        this
      • srcAddressGroups

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder srcAddressGroups​(List<String> srcAddressGroups)
        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_firewall_policy_rule#src_address_groups ComputeFirewallPolicyRule#src_address_groups}
        Returns:
        this
      • srcFqdns

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder srcFqdns​(List<String> srcFqdns)
        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_firewall_policy_rule#src_fqdns ComputeFirewallPolicyRule#src_fqdns}
        Returns:
        this
      • srcIpRanges

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder srcIpRanges​(List<String> srcIpRanges)
        Parameters:
        srcIpRanges - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#src_ip_ranges ComputeFirewallPolicyRule#src_ip_ranges}
        Returns:
        this
      • srcRegionCodes

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder srcRegionCodes​(List<String> srcRegionCodes)
        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_firewall_policy_rule#src_region_codes ComputeFirewallPolicyRule#src_region_codes}
        Returns:
        this
      • srcThreatIntelligences

        @Stability(Stable)
        public ComputeFirewallPolicyRuleMatch.Builder srcThreatIntelligences​(List<String> srcThreatIntelligences)
        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_firewall_policy_rule#src_threat_intelligences ComputeFirewallPolicyRule#src_threat_intelligences}
        Returns:
        this