@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WafOverrideAction extends Object implements Serializable, Cloneable, StructuredPojo
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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)
Marshalls this structured data using the given
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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.