public class OutputLogEvent
extends java.lang.Object
implements java.io.Serializable
Represents a log event.
Constructor and Description |
---|
OutputLogEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getIngestionTime()
The time the event was ingested, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
java.lang.String |
getMessage()
The data contained in the log event.
|
java.lang.Long |
getTimestamp()
The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
void |
setIngestionTime(java.lang.Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
void |
setMessage(java.lang.String message)
The data contained in the log event.
|
void |
setTimestamp(java.lang.Long timestamp)
The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OutputLogEvent |
withIngestionTime(java.lang.Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
OutputLogEvent |
withMessage(java.lang.String message)
The data contained in the log event.
|
OutputLogEvent |
withTimestamp(java.lang.Long timestamp)
The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
|
public java.lang.Long getTimestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Constraints:
Range: 0 -
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public void setTimestamp(java.lang.Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Constraints:
Range: 0 -
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public OutputLogEvent withTimestamp(java.lang.Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public java.lang.String getMessage()
The data contained in the log event.
Constraints:
Length: 1 -
The data contained in the log event.
public void setMessage(java.lang.String message)
The data contained in the log event.
Constraints:
Length: 1 -
message
- The data contained in the log event.
public OutputLogEvent withMessage(java.lang.String message)
The data contained in the log event.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
message
- The data contained in the log event.
public java.lang.Long getIngestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Constraints:
Range: 0 -
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public void setIngestionTime(java.lang.Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Constraints:
Range: 0 -
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public OutputLogEvent withIngestionTime(java.lang.Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.