Class LogEvent
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.LogEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogEvent.Builder,LogEvent>
@Generated("software.amazon.awssdk:codegen") public final class LogEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogEvent.Builder,LogEvent>
Describes a database log event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogEvent.Builderbuilder()InstantcreatedAt()The timestamp when the database log event was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The message of the database log event.List<SdkField<?>>sdkFields()static Class<? extends LogEvent.Builder>serializableBuilderClass()LogEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The timestamp when the database log event was created.
- Returns:
- The timestamp when the database log event was created.
-
message
public final String message()
The message of the database log event.
- Returns:
- The message of the database log event.
-
toBuilder
public LogEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogEvent.Builder,LogEvent>
-
builder
public static LogEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-