@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)
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; useful for testing and debugging.
|
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.