Interface LogStream.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogStream.Builder,LogStream>,SdkBuilder<LogStream.Builder,LogStream>,SdkPojo
- Enclosing class:
- LogStream
public static interface LogStream.Builder extends SdkPojo, CopyableBuilder<LogStream.Builder,LogStream>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description LogStream.Builderarn(String arn)The Amazon Resource Name (ARN) of the log stream.LogStream.BuildercreationTime(Long creationTime)The creation time of the stream, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.LogStream.BuilderfirstEventTimestamp(Long firstEventTimestamp)The time of the first event, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.LogStream.BuilderlastEventTimestamp(Long lastEventTimestamp)The time of the most recent log event in the log stream in CloudWatch Logs.LogStream.BuilderlastIngestionTime(Long lastIngestionTime)The ingestion time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTCThelastIngestionTimevalue updates on an eventual consistency basis.LogStream.BuilderlogStreamName(String logStreamName)The name of the log stream.LogStream.BuilderstoredBytes(Long storedBytes)Deprecated.Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero.LogStream.BuilderuploadSequenceToken(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logStreamName
LogStream.Builder logStreamName(String 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
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.- 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
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.- 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
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. ThelastEventTimevalue 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. ThelastEventTimevalue 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
LogStream.Builder lastIngestionTime(Long lastIngestionTime)
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTCThelastIngestionTimevalue 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 UTCThelastIngestionTimevalue 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
LogStream.Builder uploadSequenceToken(String uploadSequenceToken)
The sequence token.
The sequence token is now ignored in
PutLogEventsactions.PutLogEventsactions are always accepted regardless of receiving an invalid sequence token. You don't need to obtainuploadSequenceTokento use aPutLogEventsaction.- Parameters:
uploadSequenceToken- The sequence token.The sequence token is now ignored in
PutLogEventsactions.PutLogEventsactions are always accepted regardless of receiving an invalid sequence token. You don't need to obtainuploadSequenceTokento use aPutLogEventsaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
LogStream.Builder arn(String 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 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.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
storedBytesparameter 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
storedBytesparameter for log groups is not affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-