@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExcludedRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a single rule to exclude from the rule group. Excluding a rule overrides its action setting for the rule
group in the web ACL, setting it to COUNT
. This effectively excludes the rule from acting on web
requests.
Constructor and Description |
---|
ExcludedRule() |
Modifier and Type | Method and Description |
---|---|
ExcludedRule |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the rule to exclude.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the rule to exclude.
|
String |
toString()
Returns a string representation of this object.
|
ExcludedRule |
withName(String name)
The name of the rule to exclude.
|
public void setName(String name)
The name of the rule to exclude.
name
- The name of the rule to exclude.public String getName()
The name of the rule to exclude.
public ExcludedRule withName(String name)
The name of the rule to exclude.
name
- The name of the rule to exclude.public String toString()
toString
in class Object
Object.toString()
public ExcludedRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.