Interface NetworkFirewallPolicyDescription.Builder

    • Method Detail

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

        NetworkFirewallPolicyDescription.Builder statefulRuleGroups​(Collection<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

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