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 Details

    • RemoteDeviceAdapterSetRequest

      public RemoteDeviceAdapterSetRequest(RemoteDeviceAdapter remoteDeviceAdapter)
      Creates an instance of RemoteDeviceAdapterSetRequest class.
      Parameters:
      remoteDeviceAdapter - the remoteDeviceAdapter value to set.
  • Method Details

    • 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 class MethodRequest
      Returns:
      the payload as JSON
      Throws:
      UnsupportedEncodingException - UnsupportedEncodingException UnsupportedEncodingException