Interface AutoAllowlistConfig.Builder

  • Method Details

    • initialDataTimeframeHours

      AutoAllowlistConfig.Builder initialDataTimeframeHours(Integer initialDataTimeframeHours)

      The look-back window, in hours, of historical DNS traffic that DNS Firewall uses to seed the initial set of observed domains when you create the rule. Valid values are from 1 to 168 (7 days). You can't change this value after you create the rule.

      Parameters:
      initialDataTimeframeHours - The look-back window, in hours, of historical DNS traffic that DNS Firewall uses to seed the initial set of observed domains when you create the rule. Valid values are from 1 to 168 (7 days). You can't change this value after you create the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importFromFirewallDomainListId

      AutoAllowlistConfig.Builder importFromFirewallDomainListId(String importFromFirewallDomainListId)

      The ID of a domain list whose domains DNS Firewall copies into the AutoAllowlist rule's managed domain list after you create the rule. You must own the source list, and it must be in COMPLETE status, in the same Region, and not a managed or AutoAllowlist list. DNS Firewall reads the source list while the copy runs, so don't change or delete it until the managed list's status is no longer IMPORTING. A change made to the source list during the copy can be reflected in the managed list, and deleting the source list fails the copy. The managed list then has status COMPLETE, or COMPLETE_IMPORT_FAILED if the copy failed. DNS Firewall uses this value only when you create the rule.

      Parameters:
      importFromFirewallDomainListId - The ID of a domain list whose domains DNS Firewall copies into the AutoAllowlist rule's managed domain list after you create the rule. You must own the source list, and it must be in COMPLETE status, in the same Region, and not a managed or AutoAllowlist list. DNS Firewall reads the source list while the copy runs, so don't change or delete it until the managed list's status is no longer IMPORTING. A change made to the source list during the copy can be reflected in the managed list, and deleting the source list fails the copy. The managed list then has status COMPLETE, or COMPLETE_IMPORT_FAILED if the copy failed. DNS Firewall uses this value only when you create the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoAllowlistFirewallDomainListId

      AutoAllowlistConfig.Builder autoAllowlistFirewallDomainListId(String autoAllowlistFirewallDomainListId)

      The ID of the managed domain list that DNS Firewall creates and maintains for this AutoAllowlist rule. The list is named AutoAllowlist - followed by the rule name, cut to 64 characters, and is renamed when you rename the rule. DNS Firewall returns this value in responses. You can't set it.

      Parameters:
      autoAllowlistFirewallDomainListId - The ID of the managed domain list that DNS Firewall creates and maintains for this AutoAllowlist rule. The list is named AutoAllowlist - followed by the rule name, cut to 64 characters, and is renamed when you rename the rule. DNS Firewall returns this value in responses. You can't set it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.