@Generated(value="software.amazon.awssdk:codegen") public final class ManagedRuleGroupStatement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedRuleGroupStatement.Builder,ManagedRuleGroupStatement>
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
You can't nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or
OrStatement. It can only be referenced as a top-level statement within a rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ManagedRuleGroupStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ManagedRuleGroupStatement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ExcludedRule> |
excludedRules()
The rules whose actions are set to
COUNT by the web ACL, regardless of the action that is set on the
rule. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludedRules()
Returns true if the ExcludedRules property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
String |
name()
The name of the managed rule group.
|
Statement |
scopeDownStatement()
Returns the value of the ScopeDownStatement property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ManagedRuleGroupStatement.Builder> |
serializableBuilderClass() |
ManagedRuleGroupStatement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vendorName()
The name of the managed rule group vendor.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vendorName()
The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.
public final String name()
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
public final boolean hasExcludedRules()
public final List<ExcludedRule> excludedRules()
The rules whose actions are set to COUNT by the web ACL, regardless of the action that is set on the
rule. This effectively excludes the rule from acting on web requests.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludedRules() to see if a value was sent in this field.
COUNT by the web ACL, regardless of the action that is
set on the rule. This effectively excludes the rule from acting on web requests.public final Statement scopeDownStatement()
public ManagedRuleGroupStatement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ManagedRuleGroupStatement.Builder,ManagedRuleGroupStatement>public static ManagedRuleGroupStatement.Builder builder()
public static Class<? extends ManagedRuleGroupStatement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.