java.lang.Object
com.azure.resourcemanager.mediaservices.models.InputDefinition
com.azure.resourcemanager.mediaservices.models.InputFile

public final class InputFile extends InputDefinition
An InputDefinition for a single file. TrackSelections are scoped to the file specified.
  • Constructor Details

    • InputFile

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

    • filename

      public String filename()
      Get the filename property: Name of the file that this input definition applies to.
      Returns:
      the filename value.
    • withFilename

      public InputFile withFilename(String filename)
      Set the filename property: Name of the file that this input definition applies to.
      Parameters:
      filename - the filename value to set.
      Returns:
      the InputFile object itself.
    • withIncludedTracks

      public InputFile withIncludedTracks(List<TrackDescriptor> includedTracks)
      Set the includedTracks property: The list of TrackDescriptors which define the metadata and selection of tracks in the input.
      Overrides:
      withIncludedTracks in class InputDefinition
      Parameters:
      includedTracks - the includedTracks value to set.
      Returns:
      the InputDefinition object itself.
    • validate

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