@Generated(value="software.amazon.awssdk:codegen") public class LogStream extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.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 since 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 since Jan 1, 1970 00:00:00 UTC.
|
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 since Jan 1, 1970 00:00:00 UTC.
|
String |
logStreamName()
The name of the log stream.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends LogStream.Builder> |
serializableBuilderClass() |
Long |
storedBytes()
The number of bytes stored.
|
LogStream.Builder |
toBuilder() |
String |
toString() |
String |
uploadSequenceToken()
The sequence token.
|
public String logStreamName()
The name of the log stream.
public Long creationTime()
The creation time of the stream, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
public Long firstEventTimestamp()
The time of the first event, expressed as the number of milliseconds since 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 since Jan 1, 1970 00:00:00 UTC. lastEventTime 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 since 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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<LogStream.Builder,LogStream>public static LogStream.Builder builder()
public static Class<? extends LogStream.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.