@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputLogEvent extends Object implements Serializable, Cloneable, StructuredPojo
Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.
Constructor and Description |
---|
InputLogEvent() |
Modifier and Type | Method and Description |
---|---|
InputLogEvent |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The raw event message.
|
Long |
getTimestamp()
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The raw event message.
|
void |
setTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InputLogEvent |
withMessage(String message)
The raw event message.
|
InputLogEvent |
withTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
|
public void setTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.public Long getTimestamp()
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
public InputLogEvent withTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.public void setMessage(String message)
The raw event message.
message
- The raw event message.public String getMessage()
The raw event message.
public InputLogEvent withMessage(String message)
The raw event message.
message
- The raw event message.public String toString()
toString
in class Object
Object.toString()
public InputLogEvent 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.