Interface NetworkFirewallPolicyDescription.Builder

  • Method Details

    • statelessRuleGroups

      NetworkFirewallPolicyDescription.Builder statelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups)

      The stateless rule groups that are used in the Network Firewall firewall policy.

      Parameters:
      statelessRuleGroups - The stateless rule groups that are used in the Network Firewall firewall policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessRuleGroups

      NetworkFirewallPolicyDescription.Builder statelessRuleGroups(StatelessRuleGroup... statelessRuleGroups)

      The stateless rule groups that are used in the Network Firewall firewall policy.

      Parameters:
      statelessRuleGroups - The stateless rule groups that are used in the Network Firewall firewall policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessRuleGroups

      The stateless rule groups that are used in the Network Firewall firewall policy.

      This is a convenience method that creates an instance of the StatelessRuleGroup.Builder avoiding the need to create one manually via StatelessRuleGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statelessRuleGroups(List<StatelessRuleGroup>).

      Parameters:
      statelessRuleGroups - a consumer that will call methods on StatelessRuleGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statelessDefaultActions

      NetworkFirewallPolicyDescription.Builder statelessDefaultActions(Collection<String> statelessDefaultActions)

      The actions to take on packets that don't match any of the stateless rule groups.

      Parameters:
      statelessDefaultActions - The actions to take on packets that don't match any of the stateless rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessDefaultActions

      NetworkFirewallPolicyDescription.Builder statelessDefaultActions(String... statelessDefaultActions)

      The actions to take on packets that don't match any of the stateless rule groups.

      Parameters:
      statelessDefaultActions - The actions to take on packets that don't match any of the stateless rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessFragmentDefaultActions

      NetworkFirewallPolicyDescription.Builder statelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)

      The actions to take on packet fragments that don't match any of the stateless rule groups.

      Parameters:
      statelessFragmentDefaultActions - The actions to take on packet fragments that don't match any of the stateless rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessFragmentDefaultActions

      NetworkFirewallPolicyDescription.Builder statelessFragmentDefaultActions(String... statelessFragmentDefaultActions)

      The actions to take on packet fragments that don't match any of the stateless rule groups.

      Parameters:
      statelessFragmentDefaultActions - The actions to take on packet fragments that don't match any of the stateless rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessCustomActions

      NetworkFirewallPolicyDescription.Builder statelessCustomActions(Collection<String> statelessCustomActions)

      Names of custom actions that are available for use in the stateless default actions settings.

      Parameters:
      statelessCustomActions - Names of custom actions that are available for use in the stateless default actions settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statelessCustomActions

      NetworkFirewallPolicyDescription.Builder statelessCustomActions(String... statelessCustomActions)

      Names of custom actions that are available for use in the stateless default actions settings.

      Parameters:
      statelessCustomActions - Names of custom actions that are available for use in the stateless default actions settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulRuleGroups

      The stateful rule groups that are used in the Network Firewall firewall policy.

      Parameters:
      statefulRuleGroups - The stateful rule groups that are used in the Network Firewall firewall policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulRuleGroups

      NetworkFirewallPolicyDescription.Builder statefulRuleGroups(StatefulRuleGroup... statefulRuleGroups)

      The stateful rule groups that are used in the Network Firewall firewall policy.

      Parameters:
      statefulRuleGroups - The stateful rule groups that are used in the Network Firewall firewall policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulRuleGroups

      The stateful rule groups that are used in the Network Firewall firewall policy.

      This is a convenience method that creates an instance of the StatefulRuleGroup.Builder avoiding the need to create one manually via StatefulRuleGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statefulRuleGroups(List<StatefulRuleGroup>).

      Parameters:
      statefulRuleGroups - a consumer that will call methods on StatefulRuleGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statefulDefaultActions

      NetworkFirewallPolicyDescription.Builder statefulDefaultActions(Collection<String> statefulDefaultActions)

      The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

      Valid values of the stateful default action:

      • aws:drop_strict

      • aws:drop_established

      • aws:alert_strict

      • aws:alert_established

      Parameters:
      statefulDefaultActions - The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

      Valid values of the stateful default action:

      • aws:drop_strict

      • aws:drop_established

      • aws:alert_strict

      • aws:alert_established

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulDefaultActions

      NetworkFirewallPolicyDescription.Builder statefulDefaultActions(String... statefulDefaultActions)

      The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

      Valid values of the stateful default action:

      • aws:drop_strict

      • aws:drop_established

      • aws:alert_strict

      • aws:alert_established

      Parameters:
      statefulDefaultActions - The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

      Valid values of the stateful default action:

      • aws:drop_strict

      • aws:drop_established

      • aws:alert_strict

      • aws:alert_established

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulEngineOptions

      NetworkFirewallPolicyDescription.Builder statefulEngineOptions(StatefulEngineOptions statefulEngineOptions)

      Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

      Parameters:
      statefulEngineOptions - Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statefulEngineOptions

      default NetworkFirewallPolicyDescription.Builder statefulEngineOptions(Consumer<StatefulEngineOptions.Builder> statefulEngineOptions)

      Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

      This is a convenience method that creates an instance of the StatefulEngineOptions.Builder avoiding the need to create one manually via StatefulEngineOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statefulEngineOptions(StatefulEngineOptions).

      Parameters:
      statefulEngineOptions - a consumer that will call methods on StatefulEngineOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: