@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionCondition extends Object implements Serializable, Cloneable, StructuredPojo
A single action condition for a Condition in a logging filter.
| Constructor and Description |
|---|
ActionCondition() |
| Modifier and Type | Method and Description |
|---|---|
ActionCondition |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action setting that a log record must contain in order to meet the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action setting that a log record must contain in order to meet the condition.
|
String |
toString()
Returns a string representation of this object.
|
ActionCondition |
withAction(ActionValue action)
The action setting that a log record must contain in order to meet the condition.
|
ActionCondition |
withAction(String action)
The action setting that a log record must contain in order to meet the condition.
|
public void setAction(String action)
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override
to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and
also on rules that have a rule action override of Count.
action - The action setting that a log record must contain in order to meet the condition. This is the action that
WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action
override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on
excluded rules and also on rules that have a rule action override of Count.
ActionValuepublic String getAction()
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override
to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and
also on rules that have a rule action override of Count.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action
override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on
excluded rules and also on rules that have a rule action override of Count.
ActionValuepublic ActionCondition withAction(String action)
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override
to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and
also on rules that have a rule action override of Count.
action - The action setting that a log record must contain in order to meet the condition. This is the action that
WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action
override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on
excluded rules and also on rules that have a rule action override of Count.
ActionValuepublic ActionCondition withAction(ActionValue action)
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override
to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and
also on rules that have a rule action override of Count.
action - The action setting that a log record must contain in order to meet the condition. This is the action that
WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action
override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on
excluded rules and also on rules that have a rule action override of Count.
ActionValuepublic String toString()
toString in class ObjectObject.toString()public ActionCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.