Class FilteredLogEvent
java.lang.Object
com.amazonaws.services.logs.model.FilteredLogEvent
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a matched event from a FilterLogEvents
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A unique identifier for this event.The name of the log stream this event belongs to.The data contained in the log event.int
hashCode()
void
setEventId
(String eventId) A unique identifier for this event.void
setIngestionTime
(Long ingestionTime) 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) toString()
Returns a string representation of this object; useful for testing and debugging.withEventId
(String eventId) A unique identifier for this event.withIngestionTime
(Long ingestionTime) withLogStreamName
(String logStreamName) The name of the log stream this event belongs to.withMessage
(String message) The data contained in the log event.withTimestamp
(Long timestamp)
-
Constructor Details
-
FilteredLogEvent
public FilteredLogEvent()
-
-
Method Details
-
setLogStreamName
The name of the log stream this event belongs to.
- Parameters:
logStreamName
- The name of the log stream this event belongs to.
-
getLogStreamName
The name of the log stream this event belongs to.
- Returns:
- The name of the log stream this event belongs to.
-
withLogStreamName
The name of the log stream this event belongs to.
- Parameters:
logStreamName
- The name of the log stream this event belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimestamp
- Parameters:
timestamp
-
-
getTimestamp
- Returns:
-
withTimestamp
- Parameters:
timestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
The data contained in the log event.
- Parameters:
message
- The data contained in the log event.
-
getMessage
The data contained in the log event.
- Returns:
- The data contained in the log event.
-
withMessage
The data contained in the log event.
- Parameters:
message
- The data contained in the log event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIngestionTime
- Parameters:
ingestionTime
-
-
getIngestionTime
- Returns:
-
withIngestionTime
- Parameters:
ingestionTime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventId
A unique identifier for this event.
- Parameters:
eventId
- A unique identifier for this event.
-
getEventId
A unique identifier for this event.
- Returns:
- A unique identifier for this event.
-
withEventId
A unique identifier for this event.
- Parameters:
eventId
- A unique identifier for this event.- 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
-