Class VideoSource
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.NodeBase
-
- com.azure.resourcemanager.videoanalyzer.models.SourceNodeBase
-
- com.azure.resourcemanager.videoanalyzer.models.VideoSource
-
public final class VideoSource extends SourceNodeBase
Video source allows for content from a Video Analyzer video resource to be ingested into a pipeline. Currently supported only with batch pipelines.
-
-
Constructor Summary
Constructors Constructor Description VideoSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSequenceBase
timeSequences()
Get the timeSequences property: Describes a sequence of datetime ranges.void
validate()
Validates the instance.String
videoName()
Get the videoName property: Name of the Video Analyzer video resource to be used as the source.VideoSource
withName(String name)
Set the name property: Node name.VideoSource
withTimeSequences(TimeSequenceBase timeSequences)
Set the timeSequences property: Describes a sequence of datetime ranges.VideoSource
withVideoName(String videoName)
Set the videoName property: Name of the Video Analyzer video resource to be used as the source.
-
-
-
Method Detail
-
videoName
public String videoName()
Get the videoName property: Name of the Video Analyzer video resource to be used as the source.- Returns:
- the videoName value.
-
withVideoName
public VideoSource withVideoName(String videoName)
Set the videoName property: Name of the Video Analyzer video resource to be used as the source.- Parameters:
videoName
- the videoName value to set.- Returns:
- the VideoSource object itself.
-
timeSequences
public TimeSequenceBase timeSequences()
Get the timeSequences property: Describes a sequence of datetime ranges. The video source only picks up recorded media within these ranges.- Returns:
- the timeSequences value.
-
withTimeSequences
public VideoSource withTimeSequences(TimeSequenceBase timeSequences)
Set the timeSequences property: Describes a sequence of datetime ranges. The video source only picks up recorded media within these ranges.- Parameters:
timeSequences
- the timeSequences value to set.- Returns:
- the VideoSource object itself.
-
withName
public VideoSource withName(String name)
Set the name property: Node name. Must be unique within the topology.- Overrides:
withName
in classSourceNodeBase
- Parameters:
name
- the name value to set.- Returns:
- the NodeBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classSourceNodeBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-