@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.
|
Long |
getFirstEventTimestamp()
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
Long |
getLastEventTimestamp()
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
Long |
getLastIngestionTime()
The ingestion time.
|
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.
|
void |
setFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
void |
setLastEventTimestamp(Long lastEventTimestamp)
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
void |
setLastIngestionTime(Long lastIngestionTime)
The ingestion time.
|
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.
|
LogStream |
withFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
LogStream |
withLastEventTimestamp(Long lastEventTimestamp)
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
|
LogStream |
withLastIngestionTime(Long lastIngestionTime)
The ingestion time.
|
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.
creationTime
- The creation time of the stream.public Long getCreationTime()
The creation time of the stream.
public LogStream withCreationTime(Long creationTime)
The creation time of the stream.
creationTime
- The creation time of the stream.public void setFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
firstEventTimestamp
- The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.public Long getFirstEventTimestamp()
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
public LogStream withFirstEventTimestamp(Long firstEventTimestamp)
The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
firstEventTimestamp
- The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.public void setLastEventTimestamp(Long lastEventTimestamp)
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
lastEventTimestamp
- The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.public Long getLastEventTimestamp()
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
public LogStream withLastEventTimestamp(Long lastEventTimestamp)
The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
lastEventTimestamp
- The time of the last event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.public void setLastIngestionTime(Long lastIngestionTime)
The ingestion time.
lastIngestionTime
- The ingestion time.public Long getLastIngestionTime()
The ingestion time.
public LogStream withLastIngestionTime(Long lastIngestionTime)
The ingestion time.
lastIngestionTime
- The ingestion time.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.