public class OutputLogEvent extends Object implements Serializable, Cloneable
Represents a log event.
Constructor and Description |
---|
OutputLogEvent() |
Modifier and Type | Method and Description |
---|---|
OutputLogEvent |
clone() |
boolean |
equals(Object obj) |
Long |
getIngestionTime()
The time the event was ingested.
|
String |
getMessage()
The data contained in the log event.
|
Long |
getTimestamp()
The time the event occurred.
|
int |
hashCode() |
void |
setIngestionTime(Long ingestionTime)
The time the event was ingested.
|
void |
setMessage(String message)
The data contained in the log event.
|
void |
setTimestamp(Long timestamp)
The time the event occurred.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OutputLogEvent |
withIngestionTime(Long ingestionTime)
The time the event was ingested.
|
OutputLogEvent |
withMessage(String message)
The data contained in the log event.
|
OutputLogEvent |
withTimestamp(Long timestamp)
The time the event occurred.
|
public void setTimestamp(Long timestamp)
The time the event occurred.
timestamp
- The time the event occurred.public Long getTimestamp()
The time the event occurred.
public OutputLogEvent withTimestamp(Long timestamp)
The time the event occurred.
timestamp
- The time the event occurred.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 OutputLogEvent withMessage(String message)
The data contained in the log event.
message
- The data contained in the log event.public void setIngestionTime(Long ingestionTime)
The time the event was ingested.
ingestionTime
- The time the event was ingested.public Long getIngestionTime()
The time the event was ingested.
public OutputLogEvent withIngestionTime(Long ingestionTime)
The time the event was ingested.
ingestionTime
- The time the event was ingested.public String toString()
toString
in class Object
Object.toString()
public OutputLogEvent clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.