Class TransformOutput

java.lang.Object
com.azure.resourcemanager.mediaservices.models.TransformOutput

public final class TransformOutput extends Object
Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.
  • Constructor Details

    • TransformOutput

      public TransformOutput()
      Creates an instance of TransformOutput class.
  • Method Details

    • onError

      public OnErrorType 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

      public TransformOutput withOnError(OnErrorType onError)
      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

      public Priority 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

      public TransformOutput withRelativePriority(Priority relativePriority)
      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

      public Preset 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

      public TransformOutput 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.
      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.