public class LookupAttribute extends Object implements Serializable, Cloneable
Specifies an attribute and value that filter the events returned.
| Constructor and Description |
|---|
LookupAttribute() |
| Modifier and Type | Method and Description |
|---|---|
LookupAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeKey()
Specifies an attribute on which to filter the events returned.
|
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(String attributeKey)
Specifies an attribute on which to filter the events returned.
|
void |
setAttributeValue(String attributeValue)
Specifies a value for the specified AttributeKey.
|
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(String attributeKey)
Specifies an attribute on which to filter the events returned.
|
LookupAttribute |
withAttributeValue(String attributeValue)
Specifies a value for the specified AttributeKey.
|
public String getAttributeKey()
Constraints:
Allowed Values: EventId, EventName, Username, ResourceType, ResourceName
LookupAttributeKeypublic void setAttributeKey(String attributeKey)
Constraints:
Allowed Values: EventId, EventName, Username, ResourceType, ResourceName
attributeKey - Specifies an attribute on which to filter the events returned.LookupAttributeKeypublic LookupAttribute withAttributeKey(String attributeKey)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EventId, EventName, Username, ResourceType, ResourceName
attributeKey - Specifies an attribute on which to filter the events returned.LookupAttributeKeypublic void setAttributeKey(LookupAttributeKey attributeKey)
Constraints:
Allowed Values: EventId, EventName, Username, ResourceType, ResourceName
attributeKey - Specifies an attribute on which to filter the events returned.LookupAttributeKeypublic LookupAttribute withAttributeKey(LookupAttributeKey attributeKey)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EventId, EventName, Username, ResourceType, ResourceName
attributeKey - Specifies an attribute on which to filter the events returned.LookupAttributeKeypublic String getAttributeValue()
public void setAttributeValue(String attributeValue)
attributeValue - Specifies a value for the specified AttributeKey.public LookupAttribute withAttributeValue(String attributeValue)
Returns a reference to this object so that method calls can be chained together.
attributeValue - Specifies a value for the specified AttributeKey.public String toString()
toString in class ObjectObject.toString()public LookupAttribute clone()
Copyright © 2015. All rights reserved.