| Package | Description |
|---|---|
| com.microsoft.azure.eventgrid.models |
This package contains the models classes for EventGridClient.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceTwinInfo |
DeviceLifeCycleEventProperties.twin()
Get information about the device twin, which is the cloud representation of application device metadata.
|
DeviceTwinInfo |
DeviceTwinInfo.withAuthenticationType(String authenticationType)
Set authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.
|
DeviceTwinInfo |
DeviceTwinInfo.withCloudToDeviceMessageCount(Double cloudToDeviceMessageCount)
Set count of cloud to device messages sent to this device.
|
DeviceTwinInfo |
DeviceTwinInfo.withConnectionState(String connectionState)
Set whether the device is connected or disconnected.
|
DeviceTwinInfo |
DeviceTwinInfo.withDeviceId(String deviceId)
Set the unique identifier of the device twin.
|
DeviceTwinInfo |
DeviceTwinInfo.withEtag(String etag)
Set a piece of information that describes the content of the device twin.
|
DeviceTwinInfo |
DeviceTwinInfo.withLastActivityTime(String lastActivityTime)
Set the ISO8601 timestamp of the last activity.
|
DeviceTwinInfo |
DeviceTwinInfo.withProperties(DeviceTwinInfoProperties properties)
Set properties JSON element.
|
DeviceTwinInfo |
DeviceTwinInfo.withStatus(String status)
Set whether the device twin is enabled or disabled.
|
DeviceTwinInfo |
DeviceTwinInfo.withStatusUpdateTime(String statusUpdateTime)
Set the ISO8601 timestamp of the last device twin status update.
|
DeviceTwinInfo |
DeviceTwinInfo.withVersion(Double version)
Set an integer that is incremented by one each time the device twin is updated.
|
DeviceTwinInfo |
DeviceTwinInfo.withX509Thumbprint(DeviceTwinInfoX509Thumbprint x509Thumbprint)
Set the thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceLifeCycleEventProperties |
DeviceLifeCycleEventProperties.withTwin(DeviceTwinInfo twin)
Set information about the device twin, which is the cloud representation of application device metadata.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/