public class DeviceStreamDataCreateRequest extends DeviceEventCreateRequest implements IDeviceStreamDataCreateRequest, java.io.Serializable
DeviceStreamData
via REST APIs.DeviceEventCreateRequest.Builder<T extends DeviceEventCreateRequest>
Constructor and Description |
---|
DeviceStreamDataCreateRequest() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get chunk data.
|
long |
getSequenceNumber()
Get sequence number for ordering chunks.
|
java.lang.String |
getStreamId()
Get id of stream data belongs to.
|
void |
setData(byte[] data) |
void |
setSequenceNumber(long sequenceNumber) |
void |
setStreamId(java.lang.String streamId) |
getEventDate, getMetadata, isUpdateState, setEventDate, setMetadata, setUpdateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventDate, getMetadata, isUpdateState, setUpdateState
public java.lang.String getStreamId()
IDeviceStreamDataCreateRequest
getStreamId
in interface IDeviceStreamDataCreateRequest
public void setStreamId(java.lang.String streamId)
public long getSequenceNumber()
IDeviceStreamDataCreateRequest
getSequenceNumber
in interface IDeviceStreamDataCreateRequest
public void setSequenceNumber(long sequenceNumber)
public byte[] getData()
IDeviceStreamDataCreateRequest
getData
in interface IDeviceStreamDataCreateRequest
public void setData(byte[] data)