@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) |
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.
|
String |
logStreamName()
The name of the log stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogStream.Builder> |
serializableBuilderClass() |
Long |
storedBytes()
The number of bytes stored.
|
LogStream.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uploadSequenceToken()
The sequence token.
|
copy
public String logStreamName()
The name of the log stream.
public Long creationTime()
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public Long firstEventTimestamp()
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public 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 may take longer in some
rare situations.
lastEventTime
value updates
on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take
longer in some rare situations.public Long lastIngestionTime()
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public String uploadSequenceToken()
The sequence token.
public String arn()
The Amazon Resource Name (ARN) of the log stream.
public Long storedBytes()
The number of bytes stored.
public LogStream.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LogStream.Builder,LogStream>
public static LogStream.Builder builder()
public static Class<? extends LogStream.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.