@Generated(value="software.amazon.awssdk:codegen") public final class InputLogEvent extends Object implements StructuredPojo, ToCopyableBuilder<InputLogEvent.Builder,InputLogEvent>
Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.
Modifier and Type | Class and Description |
---|---|
static interface |
InputLogEvent.Builder |
Modifier and Type | Method and Description |
---|---|
static InputLogEvent.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The raw event message.
|
static Class<? extends InputLogEvent.Builder> |
serializableBuilderClass() |
Long |
timestamp()
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
|
InputLogEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Long timestamp()
The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
public String message()
The raw event message.
public InputLogEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InputLogEvent.Builder,InputLogEvent>
public static InputLogEvent.Builder builder()
public static Class<? extends InputLogEvent.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.