Class RemoteDeviceAdapterSetRequest
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.MethodRequest
-
- com.azure.media.videoanalyzer.edge.models.RemoteDeviceAdapterSetRequest
-
public final class RemoteDeviceAdapterSetRequest extends MethodRequest
Creates a new remote device adapter or updates an existing one.
-
-
Constructor Summary
Constructors Constructor Description RemoteDeviceAdapterSetRequest(RemoteDeviceAdapter remoteDeviceAdapter)
Creates an instance of RemoteDeviceAdapterSetRequest class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMethodName()
Get the methodName property: method name.String
getPayloadAsJson()
Get the payload as JSON: the serialized form of the request bodyRemoteDeviceAdapter
getRemoteDeviceAdapter()
Get the remoteDeviceAdapter property: The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.MethodRequest
getApiVersion
-
-
-
-
Constructor Detail
-
RemoteDeviceAdapterSetRequest
public RemoteDeviceAdapterSetRequest(RemoteDeviceAdapter remoteDeviceAdapter)
Creates an instance of RemoteDeviceAdapterSetRequest class.- Parameters:
remoteDeviceAdapter
- the remoteDeviceAdapter value to set.
-
-
Method Detail
-
getRemoteDeviceAdapter
public RemoteDeviceAdapter getRemoteDeviceAdapter()
Get the remoteDeviceAdapter property: The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall. A remote device adapter should be created for each such IoT device. Communication between the cloud and IoT device would then flow via the Video Analyzer edge module.- Returns:
- the remoteDeviceAdapter value.
-
getMethodName
public String getMethodName()
Get the methodName property: method name.- Returns:
- the methodName value.
-
getPayloadAsJson
public String getPayloadAsJson() throws UnsupportedEncodingException
Get the payload as JSON: the serialized form of the request body- Overrides:
getPayloadAsJson
in classMethodRequest
- Returns:
- the payload as JSON
- Throws:
UnsupportedEncodingException
- UnsupportedEncodingException UnsupportedEncodingException
-
-