Interface GetFirewallRuleResponse.Builder

  • Method Details

    • action

      The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.

      Parameters:
      action - The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.

      Parameters:
      action - The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDnsType

      GetFirewallRuleResponse.Builder blockOverrideDnsType(String blockOverrideDnsType)

      The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

      Parameters:
      blockOverrideDnsType - The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDnsType

      GetFirewallRuleResponse.Builder blockOverrideDnsType(BlockOverrideDnsQueryType blockOverrideDnsType)

      The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

      Parameters:
      blockOverrideDnsType - The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDomain

      GetFirewallRuleResponse.Builder blockOverrideDomain(String blockOverrideDomain)

      The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

      Parameters:
      blockOverrideDomain - The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockOverrideTtl

      GetFirewallRuleResponse.Builder blockOverrideTtl(Integer blockOverrideTtl)

      The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

      Parameters:
      blockOverrideTtl - The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockResponse

      GetFirewallRuleResponse.Builder blockResponse(String blockResponse)

      The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.

      Parameters:
      blockResponse - The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockResponse

      The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.

      Parameters:
      blockResponse - The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidenceThreshold

      GetFirewallRuleResponse.Builder confidenceThreshold(String confidenceThreshold)

      The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.

      Parameters:
      confidenceThreshold - The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidenceThreshold

      GetFirewallRuleResponse.Builder confidenceThreshold(ConfidenceThreshold confidenceThreshold)

      The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.

      Parameters:
      confidenceThreshold - The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The time and date the DNS Firewall rule was created.

      Parameters:
      createdAt - The time and date the DNS Firewall rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetFirewallRuleResponse.Builder description(String description)

      The description of the DNS Firewall rule.

      Parameters:
      description - The description of the DNS Firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsAdvancedProtection

      GetFirewallRuleResponse.Builder dnsAdvancedProtection(String dnsAdvancedProtection)

      The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.

      Parameters:
      dnsAdvancedProtection - The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dnsAdvancedProtection

      GetFirewallRuleResponse.Builder dnsAdvancedProtection(DnsAdvancedProtection dnsAdvancedProtection)

      The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.

      Parameters:
      dnsAdvancedProtection - The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallDomainListId

      GetFirewallRuleResponse.Builder firewallDomainListId(String firewallDomainListId)

      The ID of a DNS Firewall domain list.

      Parameters:
      firewallDomainListId - The ID of a DNS Firewall domain list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      ID of the DNS Firewall rule.

      Parameters:
      id - ID of the DNS Firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the DNS Firewall rule.

      Parameters:
      name - The name of the DNS Firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

      Parameters:
      priority - The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsViewId

      The DNS view ID the DNS Firewall is associated with.

      Parameters:
      dnsViewId - The DNS view ID the DNS Firewall is associated with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryType

      The DNS query type you want the rule to evaluate.

      Parameters:
      queryType - The DNS query type you want the rule to evaluate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The operational status of the DNS Firewall rule.

      Parameters:
      status - The operational status of the DNS Firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The operational status of the DNS Firewall rule.

      Parameters:
      status - The operational status of the DNS Firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      The date and time the DNS Firewall rule was updated.

      Parameters:
      updatedAt - The date and time the DNS Firewall rule was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.