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()
Returns the value of the IngestionTime property for this object.
|
String |
getLogStreamName()
The name of the log stream this event belongs to.
|
String |
getMessage()
The data contained in the log event.
|
Long |
getTimestamp()
Returns the value of the Timestamp property for this object.
|
int |
hashCode() |
void |
setEventId(String eventId)
A unique identifier for this event.
|
void |
setIngestionTime(Long ingestionTime)
Sets the value of the IngestionTime property for this object.
|
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)
Sets the value of the Timestamp property for this object.
|
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)
Sets the value of the IngestionTime property for this object.
|
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)
Sets the value of the Timestamp property for this object.
|
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 - The new value for the Timestamp property for this object.public Long getTimestamp()
public FilteredLogEvent withTimestamp(Long timestamp)
timestamp - The new value for the Timestamp property for this object.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 - The new value for the IngestionTime property for this object.public Long getIngestionTime()
public FilteredLogEvent withIngestionTime(Long ingestionTime)
ingestionTime - The new value for the IngestionTime property for this object.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 ObjectObject.toString()public FilteredLogEvent clone()
Copyright © 2015. All rights reserved.