@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilteredLogEvent extends Object implements Serializable, Cloneable, StructuredPojo
Represents a matched event.
Constructor and Description |
---|
FilteredLogEvent() |
Modifier and Type | Method and Description |
---|---|
FilteredLogEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEventId()
The ID of the event.
|
Long |
getIngestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
getLogStreamName()
The name of the log stream this event belongs to.
|
String |
getMessage()
The data contained in the log event.
|
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 |
setEventId(String eventId)
The ID of the event.
|
void |
setIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
|
void |
setMessage(String message)
The data contained in the log event.
|
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; useful for testing and debugging.
|
FilteredLogEvent |
withEventId(String eventId)
The ID of the event.
|
FilteredLogEvent |
withIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
FilteredLogEvent |
withLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
|
FilteredLogEvent |
withMessage(String message)
The data contained in the log event.
|
FilteredLogEvent |
withTimestamp(Long timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
public void setLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
logStreamName
- The name of the log stream this event belongs to.public String getLogStreamName()
The name of the log stream this event belongs to.
public FilteredLogEvent withLogStreamName(String logStreamName)
The name of the log stream this event belongs to.
logStreamName
- The name of the log stream this event belongs to.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.
public FilteredLogEvent 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 data contained in the log event.
message
- The data contained in the log event.public String getMessage()
The data contained in the log event.
public FilteredLogEvent withMessage(String message)
The data contained in the log event.
message
- The data contained in the log event.public void setIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public Long getIngestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public FilteredLogEvent withIngestionTime(Long ingestionTime)
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
ingestionTime
- The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public void setEventId(String eventId)
The ID of the event.
eventId
- The ID of the event.public String getEventId()
The ID of the event.
public FilteredLogEvent withEventId(String eventId)
The ID of the event.
eventId
- The ID of the event.public String toString()
toString
in class Object
Object.toString()
public FilteredLogEvent 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.