Class IoTDeviceInfo
java.lang.Object
com.azure.resourcemanager.databoxedge.models.IoTDeviceInfo
Metadata of IoT device/IoT Edge device to be configured.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: IoT device authentication info.deviceId()
Get the deviceId property: ID of the IoT device/edge device.Get the ioTHostHub property: Host name for the IoT hub associated to the device.Get the ioTHostHubId property: Id for the IoT hub associated to the device.void
validate()
Validates the instance.withAuthentication
(Authentication authentication) Set the authentication property: IoT device authentication info.withDeviceId
(String deviceId) Set the deviceId property: ID of the IoT device/edge device.withIoTHostHub
(String ioTHostHub) Set the ioTHostHub property: Host name for the IoT hub associated to the device.withIoTHostHubId
(String ioTHostHubId) Set the ioTHostHubId property: Id for the IoT hub associated to the device.
-
Constructor Details
-
IoTDeviceInfo
public IoTDeviceInfo()Creates an instance of IoTDeviceInfo class.
-
-
Method Details
-
deviceId
Get the deviceId property: ID of the IoT device/edge device.- Returns:
- the deviceId value.
-
withDeviceId
Set the deviceId property: ID of the IoT device/edge device.- Parameters:
deviceId
- the deviceId value to set.- Returns:
- the IoTDeviceInfo object itself.
-
ioTHostHub
Get the ioTHostHub property: Host name for the IoT hub associated to the device.- Returns:
- the ioTHostHub value.
-
withIoTHostHub
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
Get the ioTHostHubId property: Id for the IoT hub associated to the device.- Returns:
- the ioTHostHubId value.
-
withIoTHostHubId
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
Get the authentication property: IoT device authentication info.- Returns:
- the authentication value.
-
withAuthentication
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.
-