@Generated(value="software.amazon.awssdk:codegen") public final class RuleSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleSummary.Builder,RuleSummary>
High-level information about a Rule, returned by operations like DescribeManagedRuleGroup. This
provides information like the ID, that you can use to retrieve and manage a RuleGroup, and the ARN, that
you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
action()
The action that WAF should take on a web request when it matches a rule's statement.
|
static RuleSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleSummary.Builder> |
serializableBuilderClass() |
RuleSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the rule.
public final RuleAction action()
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
public RuleSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleSummary.Builder,RuleSummary>public static RuleSummary.Builder builder()
public static Class<? extends RuleSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.