Class PipelineTopologySetRequest
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.MethodRequest
-
- com.azure.media.videoanalyzer.edge.models.PipelineTopologySetRequest
-
public final class PipelineTopologySetRequest extends MethodRequest
Creates a new pipeline topology or updates an existing one.
-
-
Constructor Summary
Constructors Constructor Description PipelineTopologySetRequest(PipelineTopology pipelineTopology)
Creates an instance of PipelineTopologySetRequest 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 bodyPipelineTopology
getPipelineTopology()
Get the pipelineTopology property: Pipeline topology describes the processing steps to be applied when processing media for a particular outcome.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.MethodRequest
getApiVersion
-
-
-
-
Constructor Detail
-
PipelineTopologySetRequest
public PipelineTopologySetRequest(PipelineTopology pipelineTopology)
Creates an instance of PipelineTopologySetRequest class.- Parameters:
pipelineTopology
- the pipelineTopology value to set.
-
-
Method Detail
-
getPipelineTopology
public PipelineTopology getPipelineTopology()
Get the pipelineTopology property: Pipeline topology describes the processing steps to be applied when processing media for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which acquires data from a RTSP camera, process it with an specific AI model and stored the data on the cloud can be reused across many different cameras, as long as the same processing should be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized, thus allowing individual pipelines to refer to different values, such as individual cameras RTSP endpoints and credentials. Overall a topology is composed of the following:- Parameters: list of user defined parameters that can be references across the topology nodes. - Sources: list of one or more data sources nodes such as an RTSP source which allows for media to be ingested from cameras. - Processors: list of nodes which perform data analysis or transformations. -Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations.
- Returns:
- the pipelineTopology 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
-
-