Class InputLogEvent
java.lang.Object
com.amazonaws.services.logs.model.InputLogEvent
- All Implemented Interfaces:
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 CloudWatch Logs understands contains two properties: the timestamp of when the event occurred, and the raw event message.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
void
setMessage
(String message) void
setTimestamp
(Long timestamp) toString()
Returns a string representation of this object; useful for testing and debugging.withMessage
(String message) withTimestamp
(Long timestamp)
-
Constructor Details
-
InputLogEvent
public InputLogEvent()
-
-
Method Details
-
setTimestamp
- Parameters:
timestamp
-
-
getTimestamp
- Returns:
-
withTimestamp
- Parameters:
timestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
- Parameters:
message
-
-
getMessage
- Returns:
-
withMessage
- Parameters:
message
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-