DeviceTwinProperties Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. DeviceTwinProperties
- com.
public class DeviceTwinProperties
A portion of the properties that can be written only by the application back-end, and read by the device.
Constructor | Description | |
---|---|---|
Device |
Modifier and Type | Method and Description |
---|---|
Device |
metadata()
Get metadata information for the properties JSON document. |
java.lang.Double |
version()
Get version of device twin properties. |
Device |
with Set metadata information for the properties JSON document. |
Device |
with Set version of device twin properties. |
DeviceTwinProperties
public DeviceTwinProperties()
metadata
public DeviceTwinMetadata metadata()
Get metadata information for the properties JSON document.
Returns:
version
public Double version()
Get version of device twin properties.
Returns:
withMetadata
public DeviceTwinProperties withMetadata(DeviceTwinMetadata metadata)
Set metadata information for the properties JSON document.
Parameters:
Returns:
withVersion
public DeviceTwinProperties withVersion(Double version)
Set version of device twin properties.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: