Interface BatchCreateFirewallRuleInputItem.Builder

  • Method Details

    • action

      The action to take when a DNS query matches the firewall rule.

      Parameters:
      action - The action to take when a DNS query matches the firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action to take when a DNS query matches the firewall rule.

      Parameters:
      action - The action to take when a DNS query matches the firewall rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • blockOverrideDnsType

      BatchCreateFirewallRuleInputItem.Builder blockOverrideDnsType(String blockOverrideDnsType)

      The DNS record type for the custom response when the action is BLOCK.

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

      BatchCreateFirewallRuleInputItem.Builder blockOverrideDnsType(BlockOverrideDnsQueryType blockOverrideDnsType)

      The DNS record type for the custom response when the action is BLOCK.

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

      BatchCreateFirewallRuleInputItem.Builder blockOverrideDomain(String blockOverrideDomain)

      The custom domain name for the BLOCK response.

      Parameters:
      blockOverrideDomain - The custom domain name for the BLOCK response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockOverrideTtl

      BatchCreateFirewallRuleInputItem.Builder blockOverrideTtl(Integer blockOverrideTtl)

      The TTL value for the custom response when the action is BLOCK.

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

      BatchCreateFirewallRuleInputItem.Builder blockResponse(String blockResponse)

      The type of block response to return when the action is BLOCK.

      Parameters:
      blockResponse - The type of block 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 type of block response to return when the action is BLOCK.

      Parameters:
      blockResponse - The type of block 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:
    • clientToken

      A unique string that identifies the request and ensures idempotency.

      Parameters:
      clientToken - A unique string that identifies the request and ensures idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidenceThreshold

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

      BatchCreateFirewallRuleInputItem.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:
    • description

      A description of the firewall rule.

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

      BatchCreateFirewallRuleInputItem.Builder dnsAdvancedProtection(String dnsAdvancedProtection)

      Whether to enable advanced DNS threat protection for the firewall rule.

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

      BatchCreateFirewallRuleInputItem.Builder dnsAdvancedProtection(DnsAdvancedProtection dnsAdvancedProtection)

      Whether to enable advanced DNS threat protection for the firewall rule.

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

      BatchCreateFirewallRuleInputItem.Builder firewallDomainListId(String firewallDomainListId)

      The ID of the firewall domain list to associate with the rule.

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

      A name for the firewall rule.

      Parameters:
      name - A name for 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 to associate the firewall rule with.

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

      The DNS query type that the firewall rule should match.

      Parameters:
      qType - The DNS query type that the firewall rule should match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.