Class IotHubDeviceConnection
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.IotHubDeviceConnection
-
public final class IotHubDeviceConnection extends Object
Information that enables communication between the IoT Hub and the IoT device - allowing this edge module to act as a transparent gateway between the two.
-
-
Constructor Summary
Constructors Constructor Description IotHubDeviceConnection(String deviceId)
Creates an instance of IotHubDeviceConnection class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialsBase
getCredentials()
Get the credentials property: IoT device connection credentials.String
getDeviceId()
Get the deviceId property: The name of the IoT device configured and managed in IoT Hub.IotHubDeviceConnection
setCredentials(CredentialsBase credentials)
Set the credentials property: IoT device connection credentials.
-
-
-
Constructor Detail
-
IotHubDeviceConnection
public IotHubDeviceConnection(String deviceId)
Creates an instance of IotHubDeviceConnection class.- Parameters:
deviceId
- the deviceId value to set.
-
-
Method Detail
-
getDeviceId
public String getDeviceId()
Get the deviceId property: The name of the IoT device configured and managed in IoT Hub. (case-sensitive).- Returns:
- the deviceId value.
-
getCredentials
public CredentialsBase getCredentials()
Get the credentials property: IoT device connection credentials. Currently IoT device symmetric key credentials are supported.- Returns:
- the credentials value.
-
setCredentials
public IotHubDeviceConnection setCredentials(CredentialsBase credentials)
Set the credentials property: IoT device connection credentials. Currently IoT device symmetric key credentials are supported.- Parameters:
credentials
- the credentials value to set.- Returns:
- the IotHubDeviceConnection object itself.
-
-