@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogStream extends Object implements Serializable, Cloneable, StructuredPojo
Represents a log stream, which is a sequence of log events from a single emitter of logs.
Constructor and Description |
---|
LogStream() |
Modifier and Type | Method and Description |
---|---|
LogStream |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the log stream.
|
Long |
getCreationTime()
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
Long |
getFirstEventTimestamp()
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
Long |
getLastEventTimestamp()
the time of the most recent log event in the log stream in CloudWatch Logs.
|
Long |
getLastIngestionTime()
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
getLogStreamName()
The name of the log stream.
|
Long |
getStoredBytes()
The number of bytes stored.
|
String |
getUploadSequenceToken()
The sequence token.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the log stream.
|
void |
setCreationTime(Long creationTime)
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setLastEventTimestamp(Long lastEventTimestamp)
the time of the most recent log event in the log stream in CloudWatch Logs.
|
void |
setLastIngestionTime(Long lastIngestionTime)
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream.
|
void |
setStoredBytes(Long storedBytes)
The number of bytes stored.
|
void |
setUploadSequenceToken(String uploadSequenceToken)
The sequence token.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LogStream |
withArn(String arn)
The Amazon Resource Name (ARN) of the log stream.
|
LogStream |
withCreationTime(Long creationTime)
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
LogStream |
withFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
LogStream |
withLastEventTimestamp(Long lastEventTimestamp)
the time of the most recent log event in the log stream in CloudWatch Logs.
|
LogStream |
withLastIngestionTime(Long lastIngestionTime)
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
LogStream |
withLogStreamName(String logStreamName)
The name of the log stream.
|
LogStream |
withStoredBytes(Long storedBytes)
The number of bytes stored.
|
LogStream |
withUploadSequenceToken(String uploadSequenceToken)
The sequence token.
|
public void setLogStreamName(String logStreamName)
The name of the log stream.
logStreamName
- The name of the log stream.public String getLogStreamName()
The name of the log stream.
public LogStream withLogStreamName(String logStreamName)
The name of the log stream.
logStreamName
- The name of the log stream.public void setCreationTime(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.public Long getCreationTime()
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public LogStream withCreationTime(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.public void setFirstEventTimestamp(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.public Long getFirstEventTimestamp()
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public LogStream withFirstEventTimestamp(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.public void setLastEventTimestamp(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.
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 getLastEventTimestamp()
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 LogStream withLastEventTimestamp(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.
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 void setLastIngestionTime(Long lastIngestionTime)
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
lastIngestionTime
- The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public Long getLastIngestionTime()
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public LogStream withLastIngestionTime(Long lastIngestionTime)
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
lastIngestionTime
- The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public void setUploadSequenceToken(String uploadSequenceToken)
The sequence token.
uploadSequenceToken
- The sequence token.public String getUploadSequenceToken()
The sequence token.
public LogStream withUploadSequenceToken(String uploadSequenceToken)
The sequence token.
uploadSequenceToken
- The sequence token.public void setArn(String arn)
The Amazon Resource Name (ARN) of the log stream.
arn
- The Amazon Resource Name (ARN) of the log stream.public String getArn()
The Amazon Resource Name (ARN) of the log stream.
public LogStream withArn(String arn)
The Amazon Resource Name (ARN) of the log stream.
arn
- The Amazon Resource Name (ARN) of the log stream.public void setStoredBytes(Long storedBytes)
The number of bytes stored.
storedBytes
- The number of bytes stored.public Long getStoredBytes()
The number of bytes stored.
public LogStream withStoredBytes(Long storedBytes)
The number of bytes stored.
storedBytes
- The number of bytes stored.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.