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

public final class OutputFile extends Object
Represents an output file produced.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of OutputFile class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the labels property: The list of labels that describe how the encoder should multiplex video and audio into an output file.
    void
    Validates the instance.
    Set the labels property: The list of labels that describe how the encoder should multiplex video and audio into an output file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OutputFile

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

    • labels

      public List<String> labels()
      Get the labels property: The list of labels that describe how the encoder should multiplex video and audio into an output file. For example, if the encoder is producing two video layers with labels v1 and v2, and one audio layer with label a1, then an array like '[v1, a1]' tells the encoder to produce an output file with the video track represented by v1 and the audio track represented by a1.
      Returns:
      the labels value.
    • withLabels

      public OutputFile withLabels(List<String> labels)
      Set the labels property: The list of labels that describe how the encoder should multiplex video and audio into an output file. For example, if the encoder is producing two video layers with labels v1 and v2, and one audio layer with label a1, then an array like '[v1, a1]' tells the encoder to produce an output file with the video track represented by v1 and the audio track represented by a1.
      Parameters:
      labels - the labels value to set.
      Returns:
      the OutputFile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.