Interface StatefulRuleGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>, SdkBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>, SdkPojo
Enclosing class:
StatefulRuleGroup

public static interface StatefulRuleGroup.Builder extends SdkPojo, CopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>
  • Method Details

    • ruleGroupName

      StatefulRuleGroup.Builder ruleGroupName(String ruleGroupName)

      The name of the rule group.

      Parameters:
      ruleGroupName - The name of the rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      StatefulRuleGroup.Builder resourceId(String resourceId)

      The resource ID of the rule group.

      Parameters:
      resourceId - The resource ID of the rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      StatefulRuleGroup.Builder priority(Integer priority)

      An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

      Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about

      You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

      Parameters:
      priority - An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

      Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about

      You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

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

      The action that allows the policy owner to override the behavior of the rule group within a policy.

      Parameters:
      override - The action that allows the policy owner to override the behavior of the rule group within a policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • override

      The action that allows the policy owner to override the behavior of the rule group within a policy.

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

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

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