Class IoTDeviceInfo

java.lang.Object
com.azure.resourcemanager.databoxedge.models.IoTDeviceInfo

public final class IoTDeviceInfo extends Object
Metadata of IoT device/IoT Edge device to be configured.
  • Constructor Details

    • IoTDeviceInfo

      public IoTDeviceInfo()
      Creates an instance of IoTDeviceInfo class.
  • Method Details

    • deviceId

      public String deviceId()
      Get the deviceId property: ID of the IoT device/edge device.
      Returns:
      the deviceId value.
    • withDeviceId

      public IoTDeviceInfo withDeviceId(String deviceId)
      Set the deviceId property: ID of the IoT device/edge device.
      Parameters:
      deviceId - the deviceId value to set.
      Returns:
      the IoTDeviceInfo object itself.
    • ioTHostHub

      public String ioTHostHub()
      Get the ioTHostHub property: Host name for the IoT hub associated to the device.
      Returns:
      the ioTHostHub value.
    • withIoTHostHub

      public IoTDeviceInfo withIoTHostHub(String ioTHostHub)
      Set the ioTHostHub property: Host name for the IoT hub associated to the device.
      Parameters:
      ioTHostHub - the ioTHostHub value to set.
      Returns:
      the IoTDeviceInfo object itself.
    • ioTHostHubId

      public String ioTHostHubId()
      Get the ioTHostHubId property: Id for the IoT hub associated to the device.
      Returns:
      the ioTHostHubId value.
    • withIoTHostHubId

      public IoTDeviceInfo withIoTHostHubId(String ioTHostHubId)
      Set the ioTHostHubId property: Id for the IoT hub associated to the device.
      Parameters:
      ioTHostHubId - the ioTHostHubId value to set.
      Returns:
      the IoTDeviceInfo object itself.
    • authentication

      public Authentication authentication()
      Get the authentication property: IoT device authentication info.
      Returns:
      the authentication value.
    • withAuthentication

      public IoTDeviceInfo withAuthentication(Authentication authentication)
      Set the authentication property: IoT device authentication info.
      Parameters:
      authentication - the authentication value to set.
      Returns:
      the IoTDeviceInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.