Interface UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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 Firewall rule was created.

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

      UpdateFirewallRuleResponse.Builder description(String description)

      The description of the Firewall rule.

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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.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

      UpdateFirewallRuleResponse.Builder firewallDomainListId(String firewallDomainListId)

      The ID of the domain list associated with the Firewall rule.

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

      The ID of the Firewall rule.

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

      The name of the Firewall rule.

      Parameters:
      name - The name of the 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 ID of the DNS view the Firewall rule is associated with.

      Parameters:
      dnsViewId - The ID of the DNS view the Firewall rule 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 firewall rule.

      Parameters:
      status - The operational status of the 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 firewall rule.

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

      The time and date the rule was updated.

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