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 LookupAttributeclone()booleanequals(Object obj)StringgetAttributeKey()Specifies an attribute on which to filter the events returned.StringgetAttributeValue()Specifies a value for the specified AttributeKey.inthashCode()voidsetAttributeKey(LookupAttributeKey attributeKey)Specifies an attribute on which to filter the events returned.voidsetAttributeKey(String attributeKey)Specifies an attribute on which to filter the events returned.voidsetAttributeValue(String attributeValue)Specifies a value for the specified AttributeKey.StringtoString()Returns a string representation of this object; useful for testing and debugging.LookupAttributewithAttributeKey(LookupAttributeKey attributeKey)Specifies an attribute on which to filter the events returned.LookupAttributewithAttributeKey(String attributeKey)Specifies an attribute on which to filter the events returned.LookupAttributewithAttributeValue(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LookupAttribute clone()
-
-