@Generated(value="software.amazon.awssdk:codegen") public class FilteredLogEvent extends Object implements StructuredPojo, ToCopyableBuilder<FilteredLogEvent.Builder,FilteredLogEvent>
Represents a matched event.
Modifier and Type | Class and Description |
---|---|
static interface |
FilteredLogEvent.Builder |
Modifier and Type | Method and Description |
---|---|
static FilteredLogEvent.Builder |
builder() |
boolean |
equals(Object obj) |
String |
eventId()
The ID of the event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
ingestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
logStreamName()
The name of the log stream this event belongs to.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The data contained in the log event.
|
static Class<? extends FilteredLogEvent.Builder> |
serializableBuilderClass() |
Long |
timestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
FilteredLogEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String logStreamName()
The name of the log stream this event belongs to.
public Long timestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public String message()
The data contained in the log event.
public Long ingestionTime()
The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public String eventId()
The ID of the event.
public FilteredLogEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FilteredLogEvent.Builder,FilteredLogEvent>
public static FilteredLogEvent.Builder builder()
public static Class<? extends FilteredLogEvent.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.