@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelNameCondition extends Object implements Serializable, Cloneable, StructuredPojo
A single label name condition for a Condition in a logging filter.
| Constructor and Description |
|---|
LabelNameCondition() |
| Modifier and Type | Method and Description |
|---|---|
LabelNameCondition |
clone() |
boolean |
equals(Object obj) |
String |
getLabelName()
The label name 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 |
setLabelName(String labelName)
The label name that a log record must contain in order to meet the condition.
|
String |
toString()
Returns a string representation of this object.
|
LabelNameCondition |
withLabelName(String labelName)
The label name that a log record must contain in order to meet the condition.
|
public void setLabelName(String labelName)
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. 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.
labelName - The label name that a log record must contain in order to meet the condition. This must be a fully
qualified label name. 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 getLabelName()
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. 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 withLabelName(String labelName)
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. 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.
labelName - The label name that a log record must contain in order to meet the condition. This must be a fully
qualified label name. 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 ObjectObject.toString()public LabelNameCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.