Class ProcessorNodeBase
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.NodeBase
-
- com.azure.resourcemanager.videoanalyzer.models.ProcessorNodeBase
-
- Direct Known Subclasses:
EncoderProcessor
public class ProcessorNodeBase extends NodeBase
Base class for topology processor nodes.
-
-
Constructor Summary
Constructors Constructor Description ProcessorNodeBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NodeInput>
inputs()
Get the inputs property: An array of upstream node references within the topology to be used as inputs for this node.void
validate()
Validates the instance.ProcessorNodeBase
withInputs(List<NodeInput> inputs)
Set the inputs property: An array of upstream node references within the topology to be used as inputs for this node.ProcessorNodeBase
withName(String name)
Set the name property: Node name.
-
-
-
Method Detail
-
inputs
public List<NodeInput> inputs()
Get the inputs property: An array of upstream node references within the topology to be used as inputs for this node.- Returns:
- the inputs value.
-
withInputs
public ProcessorNodeBase withInputs(List<NodeInput> inputs)
Set the inputs property: An array of upstream node references within the topology to be used as inputs for this node.- Parameters:
inputs
- the inputs value to set.- Returns:
- the ProcessorNodeBase object itself.
-
withName
public ProcessorNodeBase withName(String name)
Set the name property: Node name. Must be unique within the topology.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classNodeBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-