@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.WafOverrideActionType
public 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.WafOverrideActionType
public 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.WafOverrideActionType
public 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.WafOverrideActionType
public String toString()
toString
in class Object
Object.toString()
public WafOverrideAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.