public class LogStream extends Object implements Serializable, Cloneable
A log stream is 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()
Returns the value of the Arn property for this object.
|
Long |
getCreationTime()
Returns the value of the CreationTime property for this object.
|
Long |
getFirstEventTimestamp()
Returns the value of the FirstEventTimestamp property for this object.
|
Long |
getLastEventTimestamp()
Returns the value of the LastEventTimestamp property for this object.
|
Long |
getLastIngestionTime()
Returns the value of the LastIngestionTime property for this object.
|
String |
getLogStreamName()
Returns the value of the LogStreamName property for this object.
|
Long |
getStoredBytes()
Returns the value of the StoredBytes property for this object.
|
String |
getUploadSequenceToken()
Returns the value of the UploadSequenceToken property for this object.
|
int |
hashCode() |
void |
setArn(String arn)
Sets the value of the Arn property for this object.
|
void |
setCreationTime(Long creationTime)
Sets the value of the CreationTime property for this object.
|
void |
setFirstEventTimestamp(Long firstEventTimestamp)
Sets the value of the FirstEventTimestamp property for this object.
|
void |
setLastEventTimestamp(Long lastEventTimestamp)
Sets the value of the LastEventTimestamp property for this object.
|
void |
setLastIngestionTime(Long lastIngestionTime)
Sets the value of the LastIngestionTime property for this object.
|
void |
setLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
void |
setStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
void |
setUploadSequenceToken(String uploadSequenceToken)
Sets the value of the UploadSequenceToken property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogStream |
withArn(String arn)
Sets the value of the Arn property for this object.
|
LogStream |
withCreationTime(Long creationTime)
Sets the value of the CreationTime property for this object.
|
LogStream |
withFirstEventTimestamp(Long firstEventTimestamp)
Sets the value of the FirstEventTimestamp property for this object.
|
LogStream |
withLastEventTimestamp(Long lastEventTimestamp)
Sets the value of the LastEventTimestamp property for this object.
|
LogStream |
withLastIngestionTime(Long lastIngestionTime)
Sets the value of the LastIngestionTime property for this object.
|
LogStream |
withLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
LogStream |
withStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
LogStream |
withUploadSequenceToken(String uploadSequenceToken)
Sets the value of the UploadSequenceToken property for this object.
|
public void setLogStreamName(String logStreamName)
logStreamName
- The new value for the LogStreamName property for this object.public String getLogStreamName()
public LogStream withLogStreamName(String logStreamName)
logStreamName
- The new value for the LogStreamName property for this object.public void setCreationTime(Long creationTime)
creationTime
- The new value for the CreationTime property for this object.public Long getCreationTime()
public LogStream withCreationTime(Long creationTime)
creationTime
- The new value for the CreationTime property for this object.public void setFirstEventTimestamp(Long firstEventTimestamp)
firstEventTimestamp
- The new value for the FirstEventTimestamp property for this
object.public Long getFirstEventTimestamp()
public LogStream withFirstEventTimestamp(Long firstEventTimestamp)
firstEventTimestamp
- The new value for the FirstEventTimestamp property for this
object.public void setLastEventTimestamp(Long lastEventTimestamp)
lastEventTimestamp
- The new value for the LastEventTimestamp property for this object.public Long getLastEventTimestamp()
public LogStream withLastEventTimestamp(Long lastEventTimestamp)
lastEventTimestamp
- The new value for the LastEventTimestamp property for this object.public void setLastIngestionTime(Long lastIngestionTime)
lastIngestionTime
- The new value for the LastIngestionTime property for this object.public Long getLastIngestionTime()
public LogStream withLastIngestionTime(Long lastIngestionTime)
lastIngestionTime
- The new value for the LastIngestionTime property for this object.public void setUploadSequenceToken(String uploadSequenceToken)
uploadSequenceToken
- The new value for the UploadSequenceToken property for this
object.public String getUploadSequenceToken()
public LogStream withUploadSequenceToken(String uploadSequenceToken)
uploadSequenceToken
- The new value for the UploadSequenceToken property for this
object.public void setArn(String arn)
arn
- The new value for the Arn property for this object.public String getArn()
public LogStream withArn(String arn)
arn
- The new value for the Arn property for this object.public void setStoredBytes(Long storedBytes)
storedBytes
- The new value for the StoredBytes property for this object.public Long getStoredBytes()
public LogStream withStoredBytes(Long storedBytes)
storedBytes
- The new value for the StoredBytes property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.