java.lang.Object
com.azure.resourcemanager.mediaservices.models.Codec
Direct Known Subclasses:
Audio, CopyAudio, CopyVideo, Video

public class Codec extends Object
Describes the basic properties of all codecs.
  • Constructor Details

    • Codec

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

    • label

      public String label()
      Get the label property: An optional label for the codec. The label can be used to control muxing behavior.
      Returns:
      the label value.
    • withLabel

      public Codec withLabel(String label)
      Set the label property: An optional label for the codec. The label can be used to control muxing behavior.
      Parameters:
      label - the label value to set.
      Returns:
      the Codec object itself.
    • validate

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