Class StatefulRuleGroup
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.StatefulRuleGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>
@Generated("software.amazon.awssdk:codegen") public final class StatefulRuleGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatefulRuleGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatefulRuleGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NetworkFirewallStatefulRuleGroupOverrideoverride()The action that allows the policy owner to override the behavior of the rule group within a policy.Integerpriority()An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy.StringresourceId()The resource ID of the rule group.StringruleGroupName()The name of the rule group.List<SdkField<?>>sdkFields()static Class<? extends StatefulRuleGroup.Builder>serializableBuilderClass()StatefulRuleGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ruleGroupName
public final String ruleGroupName()
The name of the rule group.
- Returns:
- The name of the rule group.
-
resourceId
public final String resourceId()
The resource ID of the rule group.
- Returns:
- The resource ID of the rule group.
-
priority
public final 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_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. 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:
- 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_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. 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.
-
override
public final NetworkFirewallStatefulRuleGroupOverride override()
The action that allows the policy owner to override the behavior of the rule group within a policy.
- Returns:
- The action that allows the policy owner to override the behavior of the rule group within a policy.
-
toBuilder
public StatefulRuleGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>
-
builder
public static StatefulRuleGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends StatefulRuleGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-