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

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

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

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

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

      UpdateFirewallRuleRequest.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:
    • clientToken

      UpdateFirewallRuleRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidenceThreshold

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

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

      UpdateFirewallRuleRequest.Builder description(String description)

      The description for the Firewall rule.

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

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

      UpdateFirewallRuleRequest.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:
    • firewallRuleId

      UpdateFirewallRuleRequest.Builder firewallRuleId(String firewallRuleId)

      The ID of the DNS Firewall rule.

      Parameters:
      firewallRuleId - The 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.
    • overrideConfiguration

      UpdateFirewallRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.