public static interface LogStream.Builder extends SdkPojo, CopyableBuilder<LogStream.Builder,LogStream>
| Modifier and Type | Method and Description |
|---|---|
LogStream.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the log stream.
|
LogStream.Builder |
creationTime(Long creationTime)
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. |
LogStream.Builder |
firstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. |
LogStream.Builder |
lastEventTimestamp(Long lastEventTimestamp)
The time of the most recent log event in the log stream in CloudWatch Logs.
|
LogStream.Builder |
lastIngestionTime(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. |
LogStream.Builder |
logStreamName(String logStreamName)
The name of the log stream.
|
LogStream.Builder |
storedBytes(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 |
uploadSequenceToken(String uploadSequenceToken)
The sequence token.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLogStream.Builder logStreamName(String logStreamName)
The name of the log stream.
logStreamName - The name of the log stream.LogStream.Builder creationTime(Long creationTime)
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
creationTime - The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.LogStream.Builder firstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
firstEventTimestamp - The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.LogStream.Builder lastEventTimestamp(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.
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.LogStream.Builder lastIngestionTime(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.
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.LogStream.Builder uploadSequenceToken(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.
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.
LogStream.Builder arn(String arn)
The Amazon Resource Name (ARN) of the log stream.
arn - The Amazon Resource Name (ARN) of the log stream.@Deprecated LogStream.Builder storedBytes(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.
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.
Copyright © 2023. All rights reserved.