java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobInput
com.azure.resourcemanager.mediaservices.models.JobInputClip
Direct Known Subclasses:
JobInputAsset, JobInputHttp

public class JobInputClip extends JobInput
Represents input files for a Job.
  • Constructor Details

    • JobInputClip

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

    • files

      public List<String> files()
      Get the files property: List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
      Returns:
      the files value.
    • withFiles

      public JobInputClip withFiles(List<String> files)
      Set the files property: List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
      Parameters:
      files - the files value to set.
      Returns:
      the JobInputClip object itself.
    • start

      public ClipTime start()
      Get the start property: Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
      Returns:
      the start value.
    • withStart

      public JobInputClip withStart(ClipTime start)
      Set the start property: Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
      Parameters:
      start - the start value to set.
      Returns:
      the JobInputClip object itself.
    • end

      public ClipTime end()
      Get the end property: Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
      Returns:
      the end value.
    • withEnd

      public JobInputClip withEnd(ClipTime end)
      Set the end property: Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
      Parameters:
      end - the end value to set.
      Returns:
      the JobInputClip object itself.
    • label

      public String label()
      Get the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
      Returns:
      the label value.
    • withLabel

      public JobInputClip withLabel(String label)
      Set the label property: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
      Parameters:
      label - the label value to set.
      Returns:
      the JobInputClip object itself.
    • inputDefinitions

      public List<InputDefinition> inputDefinitions()
      Get the inputDefinitions property: Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
      Returns:
      the inputDefinitions value.
    • withInputDefinitions

      public JobInputClip withInputDefinitions(List<InputDefinition> inputDefinitions)
      Set the inputDefinitions property: Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
      Parameters:
      inputDefinitions - the inputDefinitions value to set.
      Returns:
      the JobInputClip object itself.
    • validate

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