Class LookupAttribute
- java.lang.Object
-
- com.amazonaws.services.cloudtrail.model.LookupAttribute
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LookupAttribute extends Object implements Serializable, Cloneable
Specifies an attribute and value that filter the events returned.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LookupAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAttributeKey
public void setAttributeKey(String attributeKey)
Specifies an attribute on which to filter the events returned.
- Parameters:
attributeKey
- Specifies an attribute on which to filter the events returned.- See Also:
LookupAttributeKey
-
getAttributeKey
public String getAttributeKey()
Specifies an attribute on which to filter the events returned.
- Returns:
- Specifies an attribute on which to filter the events returned.
- See Also:
LookupAttributeKey
-
withAttributeKey
public LookupAttribute withAttributeKey(String attributeKey)
Specifies an attribute on which to filter the events returned.
- Parameters:
attributeKey
- Specifies an attribute on which to filter the events returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookupAttributeKey
-
setAttributeKey
public void setAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
- Parameters:
attributeKey
- Specifies an attribute on which to filter the events returned.- See Also:
LookupAttributeKey
-
withAttributeKey
public LookupAttribute withAttributeKey(LookupAttributeKey attributeKey)
Specifies an attribute on which to filter the events returned.
- Parameters:
attributeKey
- Specifies an attribute on which to filter the events returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookupAttributeKey
-
setAttributeValue
public void setAttributeValue(String attributeValue)
Specifies a value for the specified AttributeKey.
- Parameters:
attributeValue
- Specifies a value for the specified AttributeKey.
-
getAttributeValue
public String getAttributeValue()
Specifies a value for the specified AttributeKey.
- Returns:
- Specifies a value for the specified AttributeKey.
-
withAttributeValue
public LookupAttribute withAttributeValue(String attributeValue)
Specifies a value for the specified AttributeKey.
- Parameters:
attributeValue
- Specifies a value for the specified AttributeKey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LookupAttribute clone()
-
-