Uses of Class
com.azure.messaging.eventgrid.systemevents.DeviceTwinInfo
Packages that use DeviceTwinInfo
Package
Description
Package containing the data models for EventGridPublisherClient.
-
Uses of DeviceTwinInfo in com.azure.messaging.eventgrid.systemevents
Methods in com.azure.messaging.eventgrid.systemevents that return DeviceTwinInfoModifier and TypeMethodDescriptionDeviceLifeCycleEventProperties.getTwin()Get the twin property: Information about the device twin, which is the cloud representation of application device metadata.DeviceTwinInfo.setAuthenticationType(String authenticationType) Set the authenticationType property: Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.DeviceTwinInfo.setCloudToDeviceMessageCount(Float cloudToDeviceMessageCount) Set the cloudToDeviceMessageCount property: Count of cloud to device messages sent to this device.DeviceTwinInfo.setConnectionState(String connectionState) Set the connectionState property: Whether the device is connected or disconnected.DeviceTwinInfo.setDeviceId(String deviceId) Set the deviceId property: The unique identifier of the device twin.Set the etag property: A piece of information that describes the content of the device twin.DeviceTwinInfo.setLastActivityTime(String lastActivityTime) Set the lastActivityTime property: The ISO8601 timestamp of the last activity.DeviceTwinInfo.setProperties(DeviceTwinInfoProperties properties) Set the properties property: Properties JSON element.Set the status property: Whether the device twin is enabled or disabled.DeviceTwinInfo.setStatusUpdateTime(String statusUpdateTime) Set the statusUpdateTime property: The ISO8601 timestamp of the last device twin status update.DeviceTwinInfo.setVersion(Float version) Set the version property: An integer that is incremented by one each time the device twin is updated.DeviceTwinInfo.setX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint) Set the x509Thumbprint property: The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store.Methods in com.azure.messaging.eventgrid.systemevents with parameters of type DeviceTwinInfoModifier and TypeMethodDescriptionDeviceLifeCycleEventProperties.setTwin(DeviceTwinInfo twin) Set the twin property: Information about the device twin, which is the cloud representation of application device metadata.IotHubDeviceCreatedEventData.setTwin(DeviceTwinInfo twin) Set the twin property: Information about the device twin, which is the cloud representation of application device metadata.IotHubDeviceDeletedEventData.setTwin(DeviceTwinInfo twin) Set the twin property: Information about the device twin, which is the cloud representation of application device metadata.