public class DeviceLifeCycleEventProperties extends Object
| Constructor and Description |
|---|
DeviceLifeCycleEventProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
deviceId()
Get the unique identifier of the device.
|
String |
hubName()
Get name of the IoT Hub where the device was created or deleted.
|
DeviceTwinInfo |
twin()
Get information about the device twin, which is the cloud representation of application device metadata.
|
DeviceLifeCycleEventProperties |
withDeviceId(String deviceId)
Set the unique identifier of the device.
|
DeviceLifeCycleEventProperties |
withHubName(String hubName)
Set name of the IoT Hub where the device was created or deleted.
|
DeviceLifeCycleEventProperties |
withTwin(DeviceTwinInfo twin)
Set information about the device twin, which is the cloud representation of application device metadata.
|
public String deviceId()
public DeviceLifeCycleEventProperties withDeviceId(String deviceId)
deviceId - the deviceId value to setpublic String hubName()
public DeviceLifeCycleEventProperties withHubName(String hubName)
hubName - the hubName value to setpublic DeviceTwinInfo twin()
public DeviceLifeCycleEventProperties withTwin(DeviceTwinInfo twin)
twin - the twin value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/