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:
  • Constructor Details

    • LookupAttribute

      public LookupAttribute()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public LookupAttribute clone()
      Overrides:
      clone in class Object