@Generated(value="software.amazon.awssdk:codegen") public final class LogStream extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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. 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 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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.