@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroup.Builder,RuleGroup>
The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.
Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow.
To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuleGroup.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ReferenceSets |
referenceSets()
The list of a rule group's reference sets.
|
RulesSource |
rulesSource()
The stateful rules or stateless rules for the rule group.
|
RuleVariables |
ruleVariables()
Settings that are available for use in the rules in the rule group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroup.Builder> |
serializableBuilderClass() |
StatefulRuleOptions |
statefulRuleOptions()
Additional options governing how Network Firewall handles stateful rules.
|
RuleGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RuleVariables ruleVariables()
Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.
public final ReferenceSets referenceSets()
The list of a rule group's reference sets.
public final RulesSource rulesSource()
The stateful rules or stateless rules for the rule group.
public final StatefulRuleOptions statefulRuleOptions()
Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings.
public RuleGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroup.Builder,RuleGroup>public static RuleGroup.Builder builder()
public static Class<? extends RuleGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.