Class StatefulRuleGroup
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup>
Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StatefulRuleGroup.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()override()The action that allows the policy owner to override the behavior of the rule group within a policy.final Integerpriority()An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy.final StringThe resource ID of the rule group.final StringThe name of the rule group.static Class<? extends StatefulRuleGroup.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
ruleGroupName
The name of the rule group.
- Returns:
- The name of the rule group.
-
resourceId
The resource ID of the rule group.
- Returns:
- The resource ID of the rule group.
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StatefulRuleGroup.Builder,StatefulRuleGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-