Interface LogStream.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogStream.Builder,
,LogStream> SdkBuilder<LogStream.Builder,
,LogStream> SdkPojo
- Enclosing class:
LogStream
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the log stream.creationTime
(Long creationTime) The creation time of the stream, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.firstEventTimestamp
(Long firstEventTimestamp) The time of the first event, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.lastEventTimestamp
(Long lastEventTimestamp) The time of the most recent log event in the log stream in CloudWatch Logs.lastIngestionTime
(Long lastIngestionTime) The ingestion time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
ThelastIngestionTime
value updates on an eventual consistency basis.logStreamName
(String logStreamName) The name of the log stream.storedBytes
(Long storedBytes) Deprecated.Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero.uploadSequenceToken
(String uploadSequenceToken) The sequence token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
logStreamName
The name of the log stream.
- Parameters:
logStreamName
- The name of the log stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
.- Parameters:
creationTime
- The creation time of the stream, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstEventTimestamp
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
.- Parameters:
firstEventTimestamp
- The time of the first event, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
. ThelastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.- Parameters:
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 afterJan 1, 1970 00:00:00 UTC
. ThelastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastIngestionTime
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
ThelastIngestionTime
value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.- Parameters:
lastIngestionTime
- The ingestion time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
ThelastIngestionTime
value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 obtainuploadSequenceToken
to use aPutLogEvents
action.- Parameters:
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 obtainuploadSequenceToken
to use aPutLogEvents
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the log stream.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the log stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-