Class RuleSummary
java.lang.Object
software.amazon.awssdk.services.wafv2.model.RuleSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleSummary.Builder,RuleSummary>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal RuleActionaction()The action that WAF should take on a web request when it matches a rule's statement.static RuleSummary.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the rule.static Class<? extends RuleSummary.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the rule.
- Returns:
- The name of the rule.
-
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.
- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleSummary.Builder,RuleSummary>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-