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()
Returns the value of the Message property for this object.
|
Long |
getTimestamp()
Returns the value of the Timestamp property for this object.
|
int |
hashCode() |
void |
setMessage(String message)
Sets the value of the Message property for this object.
|
void |
setTimestamp(Long timestamp)
Sets the value of the Timestamp property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InputLogEvent |
withMessage(String message)
Sets the value of the Message property for this object.
|
InputLogEvent |
withTimestamp(Long timestamp)
Sets the value of the Timestamp property for this object.
|
public void setTimestamp(Long timestamp)
timestamp
- The new value for the Timestamp property for this object.public Long getTimestamp()
public InputLogEvent withTimestamp(Long timestamp)
timestamp
- The new value for the Timestamp property for this object.public void setMessage(String message)
message
- The new value for the Message property for this object.public String getMessage()
public InputLogEvent withMessage(String message)
message
- The new value for the Message property for this object.public String toString()
toString
in class Object
Object.toString()
public InputLogEvent clone()
Copyright © 2015. All rights reserved.