@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OverrideAction extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
The action to use to override the rule's Action setting. You can use no override action, in which case
the rule action is in effect, or count, in which case, if the rule matches a web request, it only counts the match.
| Constructor and Description |
|---|
OverrideAction() |
| Modifier and Type | Method and Description |
|---|---|
OverrideAction |
clone() |
boolean |
equals(Object obj) |
CountAction |
getCount()
Override the rule action setting to count.
|
NoneAction |
getNone()
Don't override the rule action setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCount(CountAction count)
Override the rule action setting to count.
|
void |
setNone(NoneAction none)
Don't override the rule action setting.
|
String |
toString()
Returns a string representation of this object.
|
OverrideAction |
withCount(CountAction count)
Override the rule action setting to count.
|
OverrideAction |
withNone(NoneAction none)
Don't override the rule action setting.
|
public void setCount(CountAction count)
Override the rule action setting to count.
count - Override the rule action setting to count.public CountAction getCount()
Override the rule action setting to count.
public OverrideAction withCount(CountAction count)
Override the rule action setting to count.
count - Override the rule action setting to count.public void setNone(NoneAction none)
Don't override the rule action setting.
none - Don't override the rule action setting.public NoneAction getNone()
Don't override the rule action setting.
public OverrideAction withNone(NoneAction none)
Don't override the rule action setting.
none - Don't override the rule action setting.public String toString()
toString in class ObjectObject.toString()public OverrideAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.