@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WafOverrideAction extends Object implements Serializable, Cloneable, StructuredPojo
The action to take if any rule within the RuleGroup matches a request.
| Constructor and Description |
|---|
WafOverrideAction() |
| Modifier and Type | Method and Description |
|---|---|
WafOverrideAction |
clone() |
boolean |
equals(Object obj) |
String |
getType()
COUNT overrides the action specified by the individual rule within a RuleGroup . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setType(String type)
COUNT overrides the action specified by the individual rule within a RuleGroup . |
String |
toString()
Returns a string representation of this object.
|
WafOverrideAction |
withType(String type)
COUNT overrides the action specified by the individual rule within a RuleGroup . |
WafOverrideAction |
withType(WafOverrideActionType type)
COUNT overrides the action specified by the individual rule within a RuleGroup . |
public void setType(String type)
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
type - COUNT overrides the action specified by the individual rule within a RuleGroup .
If set to NONE, the rule's action will take place.WafOverrideActionTypepublic String getType()
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
COUNT overrides the action specified by the individual rule within a RuleGroup
. If set to NONE, the rule's action will take place.WafOverrideActionTypepublic WafOverrideAction withType(String type)
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
type - COUNT overrides the action specified by the individual rule within a RuleGroup .
If set to NONE, the rule's action will take place.WafOverrideActionTypepublic WafOverrideAction withType(WafOverrideActionType type)
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
type - COUNT overrides the action specified by the individual rule within a RuleGroup .
If set to NONE, the rule's action will take place.WafOverrideActionTypepublic String toString()
toString in class ObjectObject.toString()public WafOverrideAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.