public class LookupAttribute
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies an attribute and value that filter the events returned.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attributeKey
Specifies an attribute on which to filter the events returned.
|
private java.lang.String |
attributeValue
Specifies a value for the specified AttributeKey.
|
Constructor and Description |
---|
LookupAttribute() |
Modifier and Type | Method and Description |
---|---|
LookupAttribute |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeKey()
Specifies an attribute on which to filter the events returned.
|
java.lang.String |
getAttributeValue()
Specifies a value for the specified AttributeKey.
|
int |
hashCode() |
void |
setAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
|
void |
setAttributeKey(java.lang.String attributeKey)
Specifies an attribute on which to filter the events returned.
|
void |
setAttributeValue(java.lang.String attributeValue)
Specifies a value for the specified AttributeKey.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LookupAttribute |
withAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
|
LookupAttribute |
withAttributeKey(java.lang.String attributeKey)
Specifies an attribute on which to filter the events returned.
|
LookupAttribute |
withAttributeValue(java.lang.String attributeValue)
Specifies a value for the specified AttributeKey.
|
private java.lang.String attributeKey
Specifies an attribute on which to filter the events returned.
private java.lang.String attributeValue
Specifies a value for the specified AttributeKey.
public void setAttributeKey(java.lang.String attributeKey)
Specifies an attribute on which to filter the events returned.
attributeKey
- Specifies an attribute on which to filter the events returned.LookupAttributeKey
public java.lang.String getAttributeKey()
Specifies an attribute on which to filter the events returned.
LookupAttributeKey
public LookupAttribute withAttributeKey(java.lang.String attributeKey)
Specifies an attribute on which to filter the events returned.
attributeKey
- Specifies an attribute on which to filter the events returned.LookupAttributeKey
public void setAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
attributeKey
- Specifies an attribute on which to filter the events returned.LookupAttributeKey
public LookupAttribute withAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
attributeKey
- Specifies an attribute on which to filter the events returned.LookupAttributeKey
public void setAttributeValue(java.lang.String attributeValue)
Specifies a value for the specified AttributeKey.
attributeValue
- Specifies a value for the specified AttributeKey.public java.lang.String getAttributeValue()
Specifies a value for the specified AttributeKey.
public LookupAttribute withAttributeValue(java.lang.String attributeValue)
Specifies a value for the specified AttributeKey.
attributeValue
- Specifies a value for the specified AttributeKey.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LookupAttribute clone()
clone
in class java.lang.Object