Interface CreateFirewallRuleResponse.Builder

  • Method Details

    • action

      The action that DNS Firewall takes on DNS queries that match this rule.

      Parameters:
      action - The action that DNS Firewall takes on DNS queries that match this rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action that DNS Firewall takes on DNS queries that match this rule.

      Parameters:
      action - The action that DNS Firewall takes on DNS queries that match this rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDnsType

      CreateFirewallRuleResponse.Builder blockOverrideDnsType(String blockOverrideDnsType)

      The DNS record type for the custom response when blockResponse is OVERRIDE.

      Parameters:
      blockOverrideDnsType - The DNS record type for the custom response when blockResponse is OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDnsType

      CreateFirewallRuleResponse.Builder blockOverrideDnsType(BlockOverrideDnsQueryType blockOverrideDnsType)

      The DNS record type for the custom response when blockResponse is OVERRIDE.

      Parameters:
      blockOverrideDnsType - The DNS record type for the custom response when blockResponse is OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDomain

      CreateFirewallRuleResponse.Builder blockOverrideDomain(String blockOverrideDomain)

      The custom domain to return when the action is BLOCK and blockResponse is OVERRIDE.

      Parameters:
      blockOverrideDomain - The custom domain to return when the action is BLOCK and blockResponse is OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockOverrideTtl

      CreateFirewallRuleResponse.Builder blockOverrideTtl(Integer blockOverrideTtl)

      The time-to-live (TTL) value for the custom response when blockResponse is OVERRIDE.

      Parameters:
      blockOverrideTtl - The time-to-live (TTL) value for the custom response when blockResponse is OVERRIDE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockResponse

      CreateFirewallRuleResponse.Builder blockResponse(String blockResponse)

      The response to return when the action is BLOCK.

      Parameters:
      blockResponse - The response to return when the action is BLOCK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockResponse

      The response to return when the action is BLOCK.

      Parameters:
      blockResponse - The response to return when the action is BLOCK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidenceThreshold

      CreateFirewallRuleResponse.Builder confidenceThreshold(String confidenceThreshold)

      The confidence threshold for advanced threat detection.

      Parameters:
      confidenceThreshold - The confidence threshold for advanced threat detection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidenceThreshold

      CreateFirewallRuleResponse.Builder confidenceThreshold(ConfidenceThreshold confidenceThreshold)

      The confidence threshold for advanced threat detection.

      Parameters:
      confidenceThreshold - The confidence threshold for advanced threat detection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The date and time when the firewall rule was created.

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

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

      CreateFirewallRuleResponse.Builder dnsAdvancedProtection(String dnsAdvancedProtection)

      Whether advanced DNS threat protection is enabled for this rule.

      Parameters:
      dnsAdvancedProtection - Whether advanced DNS threat protection is enabled for this rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dnsAdvancedProtection

      CreateFirewallRuleResponse.Builder dnsAdvancedProtection(DnsAdvancedProtection dnsAdvancedProtection)

      Whether advanced DNS threat protection is enabled for this rule.

      Parameters:
      dnsAdvancedProtection - Whether advanced DNS threat protection is enabled for this rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallDomainListId

      CreateFirewallRuleResponse.Builder firewallDomainListId(String firewallDomainListId)

      The ID of the firewall domain list used in this rule.

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

      The unique identifier for the firewall rule.

      Parameters:
      id - The unique identifier for 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 priority of the firewall rule.

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

      The ID of the DNS view associated with this firewall rule.

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

      The DNS query type that this rule matches.

      Parameters:
      queryType - The DNS query type that this rule matches.
      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 date and time when the firewall rule was last updated.

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