Class EncoderProcessor
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.NodeBase
-
- com.azure.resourcemanager.videoanalyzer.models.ProcessorNodeBase
-
- com.azure.resourcemanager.videoanalyzer.models.EncoderProcessor
-
public final class EncoderProcessor extends ProcessorNodeBase
Encoder processor allows for encoding of the input content. For example, it can used to change the resolution from 4K to 1280x720.
-
-
Constructor Summary
Constructors Constructor Description EncoderProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncoderPresetBase
preset()
Get the preset property: The encoder preset, which defines the recipe or instructions on how the input content should be processed.void
validate()
Validates the instance.EncoderProcessor
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.EncoderProcessor
withName(String name)
Set the name property: Node name.EncoderProcessor
withPreset(EncoderPresetBase preset)
Set the preset property: The encoder preset, which defines the recipe or instructions on how the input content should be processed.-
Methods inherited from class com.azure.resourcemanager.videoanalyzer.models.ProcessorNodeBase
inputs
-
-
-
-
Method Detail
-
preset
public EncoderPresetBase preset()
Get the preset property: The encoder preset, which defines the recipe or instructions on how the input content should be processed.- Returns:
- the preset value.
-
withPreset
public EncoderProcessor withPreset(EncoderPresetBase preset)
Set the preset property: The encoder preset, which defines the recipe or instructions on how the input content should be processed.- Parameters:
preset
- the preset value to set.- Returns:
- the EncoderProcessor object itself.
-
withInputs
public EncoderProcessor 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.- Overrides:
withInputs
in classProcessorNodeBase
- Parameters:
inputs
- the inputs value to set.- Returns:
- the ProcessorNodeBase object itself.
-
withName
public EncoderProcessor withName(String name)
Set the name property: Node name. Must be unique within the topology.- Overrides:
withName
in classProcessorNodeBase
- Parameters:
name
- the name value to set.- Returns:
- the NodeBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classProcessorNodeBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-