Interface AutoAllowlistConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoAllowlistConfig.Builder,,AutoAllowlistConfig> SdkBuilder<AutoAllowlistConfig.Builder,,AutoAllowlistConfig> SdkPojo
- Enclosing class:
AutoAllowlistConfig
-
Method Summary
Modifier and TypeMethodDescriptionautoAllowlistFirewallDomainListId(String autoAllowlistFirewallDomainListId) The ID of the managed domain list that DNS Firewall creates and maintains for this AutoAllowlist rule.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
1to168(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 from1to168(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
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
COMPLETEstatus, 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 longerIMPORTING. 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 statusCOMPLETE, orCOMPLETE_IMPORT_FAILEDif 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 inCOMPLETEstatus, 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 longerIMPORTING. 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 statusCOMPLETE, orCOMPLETE_IMPORT_FAILEDif 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 namedAutoAllowlist -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.
-