public class OutputLogEvent
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
ingestionTime |
private java.lang.String |
message |
private java.lang.Long |
timestamp |
Constructor and Description |
---|
OutputLogEvent() |
Modifier and Type | Method and Description |
---|---|
OutputLogEvent |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getIngestionTime() |
java.lang.String |
getMessage() |
java.lang.Long |
getTimestamp() |
int |
hashCode() |
void |
setIngestionTime(java.lang.Long ingestionTime) |
void |
setMessage(java.lang.String message) |
void |
setTimestamp(java.lang.Long timestamp) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OutputLogEvent |
withIngestionTime(java.lang.Long ingestionTime) |
OutputLogEvent |
withMessage(java.lang.String message) |
OutputLogEvent |
withTimestamp(java.lang.Long timestamp) |
private java.lang.Long timestamp
private java.lang.String message
private java.lang.Long ingestionTime
public void setTimestamp(java.lang.Long timestamp)
timestamp
- public java.lang.Long getTimestamp()
public OutputLogEvent withTimestamp(java.lang.Long timestamp)
timestamp
- public void setMessage(java.lang.String message)
message
- public java.lang.String getMessage()
public OutputLogEvent withMessage(java.lang.String message)
message
- public void setIngestionTime(java.lang.Long ingestionTime)
ingestionTime
- public java.lang.Long getIngestionTime()
public OutputLogEvent withIngestionTime(java.lang.Long ingestionTime)
ingestionTime
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OutputLogEvent clone()
clone
in class java.lang.Object