Class FirewallRuleGroupEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FirewallRuleGroupEntry.Builder,FirewallRuleGroupEntry>
A single entry in the firewall section of a Next Generation policy. An entry either references an existing firewall engine rule group by ARN or embeds a rule group directly in the policy, and it carries the priority that sets the rule group's evaluation order within the firewall section.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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()final FirewallRuleGroupA firewall engine rule group defined directly in the policy, instead of referenced by ARN.final Integerpriority()The priority of the rule group entry within the firewall section.final StringThe Amazon Resource Name (ARN) of an existing firewall engine rule group to reference in this entry.static Class<? extends FirewallRuleGroupEntry.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
-
priority
The priority of the rule group entry within the firewall section. Network Firewall evaluates the firewall section's entries in order of increasing priority value. Each entry in the firewall section must have a unique priority.
- Returns:
- The priority of the rule group entry within the firewall section. Network Firewall evaluates the firewall section's entries in order of increasing priority value. Each entry in the firewall section must have a unique priority.
-
resourceArn
The Amazon Resource Name (ARN) of an existing firewall engine rule group to reference in this entry. Provide either
ResourceArnto reference an existing rule group orInlineRuleGroupto embed a rule group in the policy.- Returns:
- The Amazon Resource Name (ARN) of an existing firewall engine rule group to reference in this entry.
Provide either
ResourceArnto reference an existing rule group orInlineRuleGroupto embed a rule group in the policy.
-
inlineRuleGroup
A firewall engine rule group defined directly in the policy, instead of referenced by ARN. Provide either
InlineRuleGroupto embed a rule group orResourceArnto reference an existing rule group. An embedded rule group can't use a domain list rules source; to filter on a domain list, reference a standalone rule group by ARN instead.- Returns:
- A firewall engine rule group defined directly in the policy, instead of referenced by ARN. Provide either
InlineRuleGroupto embed a rule group orResourceArnto reference an existing rule group. An embedded rule group can't use a domain list rules source; to filter on a domain list, reference a standalone rule group by ARN instead.
-
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<FirewallRuleGroupEntry.Builder,FirewallRuleGroupEntry> - 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-