public class InputLogEvent extends Object implements Serializable, Cloneable
A log event is a record of some activity that was recorded by the application or resource being monitored. The log event record that Amazon CloudWatch Logs understands contains two properties: the timestamp of when the event occurred, and the raw event message.
| Constructor and Description |
|---|
InputLogEvent() |
| Modifier and Type | Method and Description |
|---|---|
InputLogEvent |
clone() |
boolean |
equals(Object obj) |
String |
getMessage() |
Long |
getTimestamp() |
int |
hashCode() |
void |
setMessage(String message) |
void |
setTimestamp(Long timestamp) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InputLogEvent |
withMessage(String message) |
InputLogEvent |
withTimestamp(Long timestamp) |
public void setTimestamp(Long timestamp)
timestamp - public Long getTimestamp()
public InputLogEvent withTimestamp(Long timestamp)
timestamp - public void setMessage(String message)
message - public String getMessage()
public InputLogEvent withMessage(String message)
message - public String toString()
toString in class ObjectObject.toString()public InputLogEvent clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.