Class DeviceConnectionStateEventProperties

    • Constructor Detail

      • DeviceConnectionStateEventProperties

        public DeviceConnectionStateEventProperties()
    • Method Detail

      • deviceId

        public String deviceId()
        Get the unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Returns:
        the deviceId value
      • withDeviceId

        public DeviceConnectionStateEventProperties withDeviceId​(String deviceId)
        Set the unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Parameters:
        deviceId - the deviceId value to set
        Returns:
        the DeviceConnectionStateEventProperties object itself.
      • moduleId

        public String moduleId()
        Get the unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Returns:
        the moduleId value
      • withModuleId

        public DeviceConnectionStateEventProperties withModuleId​(String moduleId)
        Set the unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Parameters:
        moduleId - the moduleId value to set
        Returns:
        the DeviceConnectionStateEventProperties object itself.
      • hubName

        public String hubName()
        Get name of the IoT Hub where the device was created or deleted.
        Returns:
        the hubName value
      • withHubName

        public DeviceConnectionStateEventProperties withHubName​(String hubName)
        Set name of the IoT Hub where the device was created or deleted.
        Parameters:
        hubName - the hubName value to set
        Returns:
        the DeviceConnectionStateEventProperties object itself.
      • deviceConnectionStateEventInfo

        public DeviceConnectionStateEventInfo deviceConnectionStateEventInfo()
        Get information about the device connection state event.
        Returns:
        the deviceConnectionStateEventInfo value
      • withDeviceConnectionStateEventInfo

        public DeviceConnectionStateEventProperties withDeviceConnectionStateEventInfo​(DeviceConnectionStateEventInfo deviceConnectionStateEventInfo)
        Set information about the device connection state event.
        Parameters:
        deviceConnectionStateEventInfo - the deviceConnectionStateEventInfo value to set
        Returns:
        the DeviceConnectionStateEventProperties object itself.