Class SecureIotDeviceRemoteTunnel
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.TunnelBase
-
- com.azure.resourcemanager.videoanalyzer.models.SecureIotDeviceRemoteTunnel
-
public final class SecureIotDeviceRemoteTunnel extends TunnelBase
A remote tunnel securely established using IoT Hub device information.
-
-
Constructor Summary
Constructors Constructor Description SecureIotDeviceRemoteTunnel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
deviceId()
Get the deviceId property: The IoT device id to use when establishing the remote tunnel.String
iotHubName()
Get the iotHubName property: Name of the IoT Hub.void
validate()
Validates the instance.SecureIotDeviceRemoteTunnel
withDeviceId(String deviceId)
Set the deviceId property: The IoT device id to use when establishing the remote tunnel.SecureIotDeviceRemoteTunnel
withIotHubName(String iotHubName)
Set the iotHubName property: Name of the IoT Hub.
-
-
-
Method Detail
-
iotHubName
public String iotHubName()
Get the iotHubName property: Name of the IoT Hub.- Returns:
- the iotHubName value.
-
withIotHubName
public SecureIotDeviceRemoteTunnel withIotHubName(String iotHubName)
Set the iotHubName property: Name of the IoT Hub.- Parameters:
iotHubName
- the iotHubName value to set.- Returns:
- the SecureIotDeviceRemoteTunnel object itself.
-
deviceId
public String deviceId()
Get the deviceId property: The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.- Returns:
- the deviceId value.
-
withDeviceId
public SecureIotDeviceRemoteTunnel withDeviceId(String deviceId)
Set the deviceId property: The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.- Parameters:
deviceId
- the deviceId value to set.- Returns:
- the SecureIotDeviceRemoteTunnel object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTunnelBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-