Class TransformOutput
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TransformOutput
Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiononError()
Get the onError property: A Transform can define more than one outputs.preset()
Get the preset property: Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.Get the relativePriority property: Sets the relative priority of the TransformOutputs within a Transform.void
validate()
Validates the instance.withOnError
(OnErrorType onError) Set the onError property: A Transform can define more than one outputs.withPreset
(Preset preset) Set the preset property: Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.withRelativePriority
(Priority relativePriority) Set the relativePriority property: Sets the relative priority of the TransformOutputs within a Transform.
-
Constructor Details
-
TransformOutput
public TransformOutput()Creates an instance of TransformOutput class.
-
-
Method Details
-
onError
Get the onError property: A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.- Returns:
- the onError value.
-
withOnError
Set the onError property: A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.- Parameters:
onError
- the onError value to set.- Returns:
- the TransformOutput object itself.
-
relativePriority
Get the relativePriority property: Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal.- Returns:
- the relativePriority value.
-
withRelativePriority
Set the relativePriority property: Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal.- Parameters:
relativePriority
- the relativePriority value to set.- Returns:
- the TransformOutput object itself.
-
preset
Get the preset property: Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.- Returns:
- the preset value.
-
withPreset
Set the preset property: Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.- Parameters:
preset
- the preset value to set.- Returns:
- the TransformOutput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-