Interface StatefulRuleGroupReference.Builder

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

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

    • resourceArn

      StatefulRuleGroupReference.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the stateful rule group.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the stateful rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. 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.

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

      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 StatefulRuleGroupOverride.Builder avoiding the need to create one manually via StatefulRuleGroupOverride.builder().

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

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