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