public class FilteredLogEvent extends Object implements Serializable, Cloneable
Represents a matched event from a FilterLogEvents
request.
Constructor and Description |
---|
FilteredLogEvent() |
Modifier and Type | Method and Description |
---|---|
FilteredLogEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEventId()
A unique identifier for this event.
|
Long |
getIngestionTime() |
String |
getLogStreamName()
The name of the log stream this event belongs to.
|
String |
getMessage()
The data contained in the log event.
|
Long |
getTimestamp() |
int |
hashCode() |
void |
setEventId(String eventId)
A unique identifier for this event.
|
void |
setIngestionTime(Long ingestionTime) |
void |
setLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
|
void |
setMessage(String message)
The data contained in the log event.
|
void |
setTimestamp(Long timestamp) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FilteredLogEvent |
withEventId(String eventId)
A unique identifier for this event.
|
FilteredLogEvent |
withIngestionTime(Long ingestionTime) |
FilteredLogEvent |
withLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
|
FilteredLogEvent |
withMessage(String message)
The data contained in the log event.
|
FilteredLogEvent |
withTimestamp(Long timestamp) |
public void setLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
logStreamName
- The name of the log stream this event belongs to.public String getLogStreamName()
The name of the log stream this event belongs to.
public FilteredLogEvent withLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
logStreamName
- The name of the log stream this event belongs to.public void setTimestamp(Long timestamp)
timestamp
- public Long getTimestamp()
public FilteredLogEvent withTimestamp(Long timestamp)
timestamp
- public void setMessage(String message)
The data contained in the log event.
message
- The data contained in the log event.public String getMessage()
The data contained in the log event.
public FilteredLogEvent withMessage(String message)
The data contained in the log event.
message
- The data contained in the log event.public void setIngestionTime(Long ingestionTime)
ingestionTime
- public Long getIngestionTime()
public FilteredLogEvent withIngestionTime(Long ingestionTime)
ingestionTime
- public void setEventId(String eventId)
A unique identifier for this event.
eventId
- A unique identifier for this event.public String getEventId()
A unique identifier for this event.
public FilteredLogEvent withEventId(String eventId)
A unique identifier for this event.
eventId
- A unique identifier for this event.public String toString()
toString
in class Object
Object.toString()
public FilteredLogEvent clone()
Copyright © 2018. All rights reserved.