public class MessageStreamInfo extends Object
Constructor and Description |
---|
MessageStreamInfo()
No args constructor for use in serialization
|
MessageStreamInfo(MessageStreamDefinition definition,
StorageStatus storageStatus,
List<ExportStatus> exportStatuses) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
MessageStreamDefinition |
getDefinition()
Object defining a message stream used in the CreateMessageStream and UpdateMessageStream API.
|
List<ExportStatus> |
getExportStatuses() |
StorageStatus |
getStorageStatus()
Stream status including oldest/newest sequence number and total bytes.
|
int |
hashCode() |
void |
setDefinition(MessageStreamDefinition definition)
Object defining a message stream used in the CreateMessageStream and UpdateMessageStream API.
|
void |
setExportStatuses(List<ExportStatus> exportStatuses) |
void |
setStorageStatus(StorageStatus storageStatus)
Stream status including oldest/newest sequence number and total bytes.
|
String |
toString() |
MessageStreamInfo |
withDefinition(MessageStreamDefinition definition) |
MessageStreamInfo |
withExportStatuses(List<ExportStatus> exportStatuses) |
MessageStreamInfo |
withStorageStatus(StorageStatus storageStatus) |
public MessageStreamInfo()
public MessageStreamInfo(MessageStreamDefinition definition, StorageStatus storageStatus, List<ExportStatus> exportStatuses)
definition
- storageStatus
- exportStatuses
- public MessageStreamDefinition getDefinition()
public void setDefinition(MessageStreamDefinition definition)
public MessageStreamInfo withDefinition(MessageStreamDefinition definition)
public StorageStatus getStorageStatus()
public void setStorageStatus(StorageStatus storageStatus)
public MessageStreamInfo withStorageStatus(StorageStatus storageStatus)
public List<ExportStatus> getExportStatuses()
public void setExportStatuses(List<ExportStatus> exportStatuses)
public MessageStreamInfo withExportStatuses(List<ExportStatus> exportStatuses)