Class NodeBase
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.NodeBase
-
- Direct Known Subclasses:
ProcessorNodeBase
,SinkNodeBase
,SourceNodeBase
public class NodeBase extends Object
Base class for nodes.
-
-
Constructor Summary
Constructors Constructor Description NodeBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Node name.void
validate()
Validates the instance.NodeBase
withName(String name)
Set the name property: Node name.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Node name. Must be unique within the topology.- Returns:
- the name value.
-
withName
public NodeBase withName(String name)
Set the name property: Node name. Must be unique within the topology.- Parameters:
name
- the name value to set.- Returns:
- the NodeBase object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-