@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Condition extends Object implements Serializable, Cloneable, StructuredPojo
A single match condition for a Filter.
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
Condition |
clone() |
boolean |
equals(Object obj) |
ActionCondition |
getActionCondition()
A single action condition.
|
LabelNameCondition |
getLabelNameCondition()
A single label name condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionCondition(ActionCondition actionCondition)
A single action condition.
|
void |
setLabelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition.
|
String |
toString()
Returns a string representation of this object.
|
Condition |
withActionCondition(ActionCondition actionCondition)
A single action condition.
|
Condition |
withLabelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition.
|
public void setActionCondition(ActionCondition actionCondition)
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
actionCondition
- A single action condition. This is the action setting that a log record must contain in order to meet the
condition.public ActionCondition getActionCondition()
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
public Condition withActionCondition(ActionCondition actionCondition)
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
actionCondition
- A single action condition. This is the action setting that a log record must contain in order to meet the
condition.public void setLabelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
labelNameCondition
- A single label name condition. This is the fully qualified label name that a log record must contain in
order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name.
The prefix identifies the rule group or web ACL context of the rule that added the label.public LabelNameCondition getLabelNameCondition()
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
public Condition withLabelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
labelNameCondition
- A single label name condition. This is the fully qualified label name that a log record must contain in
order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name.
The prefix identifies the rule group or web ACL context of the rule that added the label.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.