Class LiveTailSessionLogEvent
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.LiveTailSessionLogEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LiveTailSessionLogEvent.Builder,LiveTailSessionLogEvent>
@Generated("software.amazon.awssdk:codegen") public final class LiveTailSessionLogEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LiveTailSessionLogEvent.Builder,LiveTailSessionLogEvent>
This object contains the information for one log event returned in a Live Tail stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLiveTailSessionLogEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LiveTailSessionLogEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongingestionTime()The timestamp specifying when this log event was ingested into the log group.StringlogGroupIdentifier()The name or ARN of the log group that ingested this log event.StringlogStreamName()The name of the log stream that ingested this log event.Stringmessage()The log event message text.List<SdkField<?>>sdkFields()static Class<? extends LiveTailSessionLogEvent.Builder>serializableBuilderClass()Longtimestamp()The timestamp specifying when this log event was created.LiveTailSessionLogEvent.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
-
logStreamName
public final String logStreamName()
The name of the log stream that ingested this log event.
- Returns:
- The name of the log stream that ingested this log event.
-
logGroupIdentifier
public final String logGroupIdentifier()
The name or ARN of the log group that ingested this log event.
- Returns:
- The name or ARN of the log group that ingested this log event.
-
message
public final String message()
The log event message text.
- Returns:
- The log event message text.
-
timestamp
public final Long timestamp()
The timestamp specifying when this log event was created.
- Returns:
- The timestamp specifying when this log event was created.
-
ingestionTime
public final Long ingestionTime()
The timestamp specifying when this log event was ingested into the log group.
- Returns:
- The timestamp specifying when this log event was ingested into the log group.
-
toBuilder
public LiveTailSessionLogEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LiveTailSessionLogEvent.Builder,LiveTailSessionLogEvent>
-
builder
public static LiveTailSessionLogEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends LiveTailSessionLogEvent.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.
-
-