@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroupReferenceStatement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupReferenceStatement.Builder,RuleGroupReferenceStatement>
A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
You cannot nest a RuleGroupReferenceStatement, 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 |
RuleGroupReferenceStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the entity.
|
static RuleGroupReferenceStatement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ExcludedRule> |
excludedRules()
The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing
for this rule statement.
|
<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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroupReferenceStatement.Builder> |
serializableBuilderClass() |
RuleGroupReferenceStatement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the entity.
public final boolean hasExcludedRules()
public final List<ExcludedRule> excludedRules()
The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing for this rule statement.
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.
public RuleGroupReferenceStatement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroupReferenceStatement.Builder,RuleGroupReferenceStatement>public static RuleGroupReferenceStatement.Builder builder()
public static Class<? extends RuleGroupReferenceStatement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.