@Generated(value="software.amazon.awssdk:codegen") public final class LogStream extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogStream.Builder,LogStream>
Represents a log stream, which is a sequence of log events from a single emitter of logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogStream.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the log stream.
|
static LogStream.Builder |
builder() |
Long |
creationTime()
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
firstEventTimestamp()
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastEventTimestamp()
The time of the most recent log event in the log stream in CloudWatch Logs.
|
Long |
lastIngestionTime()
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC The
lastIngestionTime value updates on an eventual consistency basis. |
String |
logStreamName()
The name of the log stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogStream.Builder> |
serializableBuilderClass() |
Long |
storedBytes()
Deprecated.
Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as
zero. This change applies only to log streams. The storedBytes parameter for log groups is not
affected.
|
LogStream.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uploadSequenceToken()
The sequence token.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String logStreamName()
The name of the log stream.
public final Long creationTime()
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
Jan 1, 1970 00:00:00 UTC.public final Long firstEventTimestamp()
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Jan 1, 1970 00:00:00 UTC.public final Long lastEventTimestamp()
The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the
number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates
on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare
situations might take longer.
Jan 1, 1970 00:00:00 UTC. The lastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion,
but in rare situations might take longer.public final Long lastIngestionTime()
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The
lastIngestionTime value updates on an eventual consistency basis. It typically updates in less than
an hour after ingestion, but in rare situations might take longer.
Jan 1, 1970 00:00:00 UTC
The lastIngestionTime value updates on an eventual consistency basis. It typically updates
in less than an hour after ingestion, but in rare situations might take longer.public final String uploadSequenceToken()
The sequence token.
The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are
always accepted regardless of receiving an invalid sequence token. You don't need to obtain
uploadSequenceToken to use a PutLogEvents action.
The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions
are always accepted regardless of receiving an invalid sequence token. You don't need to obtain
uploadSequenceToken to use a PutLogEvents action.
public final String arn()
The Amazon Resource Name (ARN) of the log stream.
@Deprecated public final Long storedBytes()
The number of bytes stored.
Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is always
reported as zero. This change applies only to log streams. The storedBytes parameter for log groups
is not affected.
Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is
always reported as zero. This change applies only to log streams. The storedBytes parameter
for log groups is not affected.
public LogStream.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogStream.Builder,LogStream>public static LogStream.Builder builder()
public static Class<? extends LogStream.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.