Class StatefulRuleGroupReference
- java.lang.Object
-
- software.amazon.awssdk.services.networkfirewall.model.StatefulRuleGroupReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StatefulRuleGroupReference.Builder,StatefulRuleGroupReference>
@Generated("software.amazon.awssdk:codegen") public final class StatefulRuleGroupReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StatefulRuleGroupReference.Builder,StatefulRuleGroupReference>
Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatefulRuleGroupReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatefulRuleGroupReference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StatefulRuleGroupOverrideoverride()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 FirewallPolicy.StringresourceArn()The Amazon Resource Name (ARN) of the stateful rule group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StatefulRuleGroupReference.Builder>serializableBuilderClass()StatefulRuleGroupReference.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
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the stateful rule group.
- Returns:
- The Amazon Resource Name (ARN) of the stateful 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 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.
- Returns:
- 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.
-
override
public final StatefulRuleGroupOverride 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 StatefulRuleGroupReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StatefulRuleGroupReference.Builder,StatefulRuleGroupReference>
-
builder
public static StatefulRuleGroupReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends StatefulRuleGroupReference.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-