@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExcludedRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a single rule in a rule group whose action you want to override to Count. When you exclude a
rule, WAF evaluates it exactly as it would if the rule action setting were Count. This is a useful
option for testing the rules in a rule group without modifying how they handle your web traffic.
| Constructor and Description |
|---|
ExcludedRule() |
| Modifier and Type | Method and Description |
|---|---|
ExcludedRule |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the rule whose action you want to override to
Count. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the rule whose action you want to override to
Count. |
String |
toString()
Returns a string representation of this object.
|
ExcludedRule |
withName(String name)
The name of the rule whose action you want to override to
Count. |
public void setName(String name)
The name of the rule whose action you want to override to Count.
name - The name of the rule whose action you want to override to Count.public String getName()
The name of the rule whose action you want to override to Count.
Count.public ExcludedRule withName(String name)
The name of the rule whose action you want to override to Count.
name - The name of the rule whose action you want to override to Count.public String toString()
toString in class ObjectObject.toString()public ExcludedRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.