public class DeviceConnectionStateEventProperties extends Object
| Constructor and Description |
|---|
DeviceConnectionStateEventProperties() |
| Modifier and Type | Method and Description |
|---|---|
DeviceConnectionStateEventInfo |
deviceConnectionStateEventInfo()
Get information about the device connection state event.
|
String |
deviceId()
Get the unique identifier of the device.
|
String |
hubName()
Get name of the IoT Hub where the device was created or deleted.
|
String |
moduleId()
Get the unique identifier of the module.
|
DeviceConnectionStateEventProperties |
withDeviceConnectionStateEventInfo(DeviceConnectionStateEventInfo deviceConnectionStateEventInfo)
Set information about the device connection state event.
|
DeviceConnectionStateEventProperties |
withDeviceId(String deviceId)
Set the unique identifier of the device.
|
DeviceConnectionStateEventProperties |
withHubName(String hubName)
Set name of the IoT Hub where the device was created or deleted.
|
DeviceConnectionStateEventProperties |
withModuleId(String moduleId)
Set the unique identifier of the module.
|
public DeviceConnectionStateEventProperties()
public String deviceId()
public DeviceConnectionStateEventProperties withDeviceId(String deviceId)
deviceId - the deviceId value to setpublic String moduleId()
public DeviceConnectionStateEventProperties withModuleId(String moduleId)
moduleId - the moduleId value to setpublic String hubName()
public DeviceConnectionStateEventProperties withHubName(String hubName)
hubName - the hubName value to setpublic DeviceConnectionStateEventInfo deviceConnectionStateEventInfo()
public DeviceConnectionStateEventProperties withDeviceConnectionStateEventInfo(DeviceConnectionStateEventInfo deviceConnectionStateEventInfo)
deviceConnectionStateEventInfo - the deviceConnectionStateEventInfo 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.
*/