@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WafOverrideAction extends Object implements Serializable, Cloneable, StructuredPojo
Details about an override action for a rule.
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 . |
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 takes place.
type
- COUNT
overrides the action specified by the individual rule within a RuleGroup
.
If set to NONE
, the rule's action takes place.
public String getType()
COUNT
overrides the action specified by the individual rule within a RuleGroup
.
If set to NONE
, the rule's action takes place.
COUNT
overrides the action specified by the individual rule within a RuleGroup
.
If set to NONE
, the rule's action takes place.
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 takes place.
type
- COUNT
overrides the action specified by the individual rule within a RuleGroup
.
If set to NONE
, the rule's action takes place.
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.