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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatefulRuleGroupReference.Builderoverride(Consumer<StatefulRuleGroupOverride.Builder> override)The action that allows the policy owner to override the behavior of the rule group within a policy.StatefulRuleGroupReference.Builderoverride(StatefulRuleGroupOverride override)The action that allows the policy owner to override the behavior of the rule group within a policy.StatefulRuleGroupReference.Builderpriority(Integer priority)An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy.StatefulRuleGroupReference.BuilderresourceArn(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 Detail
-
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
StatefulRuleGroupReference.Builder priority(Integer 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_ORDERrule 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_ORDERrule 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
StatefulRuleGroupReference.Builder override(StatefulRuleGroupOverride 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.Builderavoiding the need to create one manually viaStatefulRuleGroupOverride.builder().When the
Consumercompletes,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:
override(StatefulRuleGroupOverride)
-
-