Class LogStream
- java.lang.Object
-
- com.amazonaws.services.logs.model.LogStream
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LogStream extends Object implements Serializable, Cloneable
A log stream is sequence of log events from a single emitter of logs.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogStream()
-
Method Summary
-
-
-
Method Detail
-
setLogStreamName
public void setLogStreamName(String logStreamName)
- Parameters:
logStreamName
-
-
getLogStreamName
public String getLogStreamName()
- Returns:
-
withLogStreamName
public LogStream withLogStreamName(String logStreamName)
- Parameters:
logStreamName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Long creationTime)
- Parameters:
creationTime
-
-
getCreationTime
public Long getCreationTime()
- Returns:
-
withCreationTime
public LogStream withCreationTime(Long creationTime)
- Parameters:
creationTime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFirstEventTimestamp
public void setFirstEventTimestamp(Long firstEventTimestamp)
- Parameters:
firstEventTimestamp
-
-
getFirstEventTimestamp
public Long getFirstEventTimestamp()
- Returns:
-
withFirstEventTimestamp
public LogStream withFirstEventTimestamp(Long firstEventTimestamp)
- Parameters:
firstEventTimestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastEventTimestamp
public void setLastEventTimestamp(Long lastEventTimestamp)
- Parameters:
lastEventTimestamp
-
-
getLastEventTimestamp
public Long getLastEventTimestamp()
- Returns:
-
withLastEventTimestamp
public LogStream withLastEventTimestamp(Long lastEventTimestamp)
- Parameters:
lastEventTimestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastIngestionTime
public void setLastIngestionTime(Long lastIngestionTime)
- Parameters:
lastIngestionTime
-
-
getLastIngestionTime
public Long getLastIngestionTime()
- Returns:
-
withLastIngestionTime
public LogStream withLastIngestionTime(Long lastIngestionTime)
- Parameters:
lastIngestionTime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadSequenceToken
public void setUploadSequenceToken(String uploadSequenceToken)
- Parameters:
uploadSequenceToken
-
-
getUploadSequenceToken
public String getUploadSequenceToken()
- Returns:
-
withUploadSequenceToken
public LogStream withUploadSequenceToken(String uploadSequenceToken)
- Parameters:
uploadSequenceToken
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
public void setArn(String arn)
- Parameters:
arn
-
-
getArn
public String getArn()
- Returns:
-
withArn
public LogStream withArn(String arn)
- Parameters:
arn
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStoredBytes
public void setStoredBytes(Long storedBytes)
- Parameters:
storedBytes
-
-
getStoredBytes
public Long getStoredBytes()
- Returns:
-
withStoredBytes
public LogStream withStoredBytes(Long storedBytes)
- Parameters:
storedBytes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-