Interface StatefulRuleGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StatefulRuleGroup.Builder,
,StatefulRuleGroup> SdkBuilder<StatefulRuleGroup.Builder,
,StatefulRuleGroup> SdkPojo
- Enclosing class:
StatefulRuleGroup
-
Method Summary
Modifier and TypeMethodDescriptiondefault StatefulRuleGroup.Builder
The action that allows the policy owner to override the behavior of the rule group within a policy.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 Network Firewall firewall policy.resourceId
(String resourceId) The resource ID of the rule group.ruleGroupName
(String ruleGroupName) The name of the 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
-
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
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
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 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. 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
default StatefulRuleGroup.Builder override(Consumer<NetworkFirewallStatefulRuleGroupOverride.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 theNetworkFirewallStatefulRuleGroupOverride.Builder
avoiding the need to create one manually viaNetworkFirewallStatefulRuleGroupOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverride(NetworkFirewallStatefulRuleGroupOverride)
.- Parameters:
override
- a consumer that will call methods onNetworkFirewallStatefulRuleGroupOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-