Interface StatefulRuleGroupReference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StatefulRuleGroupReference.Builder,
,StatefulRuleGroupReference> SdkBuilder<StatefulRuleGroupReference.Builder,
,StatefulRuleGroupReference> SdkPojo
- Enclosing class:
StatefulRuleGroupReference
-
Method Summary
Modifier and TypeMethodDescriptionoverride
(Consumer<StatefulRuleGroupOverride.Builder> override) The action that allows the policy owner to override the behavior of the rule group within a policy.override
(StatefulRuleGroupOverride override) The action that allows the policy owner to override the behavior of the rule group within a policy.An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the stateful rule group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theSTRICT_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
default StatefulRuleGroupReference.Builder override(Consumer<StatefulRuleGroupOverride.Builder> 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 theStatefulRuleGroupOverride.Builder
avoiding the need to create one manually viaStatefulRuleGroupOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverride(StatefulRuleGroupOverride)
.- Parameters:
override
- a consumer that will call methods onStatefulRuleGroupOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-