Class FilteredLogEvent

java.lang.Object
com.amazonaws.services.logs.model.FilteredLogEvent
All Implemented Interfaces:
Serializable, Cloneable

public class FilteredLogEvent extends Object implements Serializable, Cloneable

Represents a matched event from a FilterLogEvents request.

See Also:
  • Constructor Details

    • FilteredLogEvent

      public FilteredLogEvent()
  • Method Details

    • setLogStreamName

      public void setLogStreamName(String logStreamName)

      The name of the log stream this event belongs to.

      Parameters:
      logStreamName - The name of the log stream this event belongs to.
    • getLogStreamName

      public String getLogStreamName()

      The name of the log stream this event belongs to.

      Returns:
      The name of the log stream this event belongs to.
    • withLogStreamName

      public FilteredLogEvent withLogStreamName(String logStreamName)

      The name of the log stream this event belongs to.

      Parameters:
      logStreamName - The name of the log stream this event belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimestamp

      public void setTimestamp(Long timestamp)
      Parameters:
      timestamp -
    • getTimestamp

      public Long getTimestamp()
      Returns:
    • withTimestamp

      public FilteredLogEvent withTimestamp(Long timestamp)
      Parameters:
      timestamp -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMessage

      public void setMessage(String message)

      The data contained in the log event.

      Parameters:
      message - The data contained in the log event.
    • getMessage

      public String getMessage()

      The data contained in the log event.

      Returns:
      The data contained in the log event.
    • withMessage

      public FilteredLogEvent withMessage(String message)

      The data contained in the log event.

      Parameters:
      message - The data contained in the log event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setIngestionTime

      public void setIngestionTime(Long ingestionTime)
      Parameters:
      ingestionTime -
    • getIngestionTime

      public Long getIngestionTime()
      Returns:
    • withIngestionTime

      public FilteredLogEvent withIngestionTime(Long ingestionTime)
      Parameters:
      ingestionTime -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEventId

      public void setEventId(String eventId)

      A unique identifier for this event.

      Parameters:
      eventId - A unique identifier for this event.
    • getEventId

      public String getEventId()

      A unique identifier for this event.

      Returns:
      A unique identifier for this event.
    • withEventId

      public FilteredLogEvent withEventId(String eventId)

      A unique identifier for this event.

      Parameters:
      eventId - A unique identifier for this event.
      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 FilteredLogEvent clone()
      Overrides:
      clone in class Object