StructuredPojo
, ToCopyableBuilder<OutputLogEvent.Builder,OutputLogEvent>
@Generated("software.amazon.awssdk:codegen") public class OutputLogEvent extends Object implements StructuredPojo, ToCopyableBuilder<OutputLogEvent.Builder,OutputLogEvent>
Represents a log event.
Modifier and Type | Class | Description |
---|---|---|
static interface |
OutputLogEvent.Builder |
Modifier and Type | Method | Description |
---|---|---|
static OutputLogEvent.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Long |
ingestionTime() |
The time the event was ingested, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
The data contained in the log event.
|
static Class<? extends OutputLogEvent.Builder> |
serializableBuilderClass() |
|
Long |
timestamp() |
The time the event occurred, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
OutputLogEvent.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Long timestamp()
The time the event occurred, expressed as the number of milliseconds since 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 since Jan 1, 1970 00:00:00 UTC.
public OutputLogEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OutputLogEvent.Builder,OutputLogEvent>
public static OutputLogEvent.Builder builder()
public static Class<? extends OutputLogEvent.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.