@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OutputLogEvent extends Object implements Serializable, Cloneable, StructuredPojo
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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
getMessage()
The data contained in the log event.
|
Long |
getTimestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setMessage(String message)
The data contained in the log event.
|
void |
setTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OutputLogEvent |
withIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
OutputLogEvent |
withMessage(String message)
The data contained in the log event.
|
OutputLogEvent |
withTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
public void setTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public Long getTimestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public OutputLogEvent withTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public Long getIngestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public OutputLogEvent withIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public String toString()
toString
in class Object
Object.toString()
public OutputLogEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.