@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 after
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 after
Jan 1, 1970 00:00:00 UTC . |
String |
toString()
Returns a string representation of this object.
|
InputLogEvent |
withMessage(String message)
The raw event message.
|
InputLogEvent |
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
.
Jan 1, 1970 00:00:00 UTC
.public InputLogEvent 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 raw event message. Each log event can be no larger than 256 KB.
message
- The raw event message. Each log event can be no larger than 256 KB.public String getMessage()
The raw event message. Each log event can be no larger than 256 KB.
public InputLogEvent withMessage(String message)
The raw event message. Each log event can be no larger than 256 KB.
message
- The raw event message. Each log event can be no larger than 256 KB.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.