Class JobInputAsset


public final class JobInputAsset extends JobInputClip
Represents an Asset for input into a Job.
  • Constructor Details

    • JobInputAsset

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

    • assetName

      public String assetName()
      Get the assetName property: The name of the input Asset.
      Returns:
      the assetName value.
    • withAssetName

      public JobInputAsset withAssetName(String assetName)
      Set the assetName property: The name of the input Asset.
      Parameters:
      assetName - the assetName value to set.
      Returns:
      the JobInputAsset object itself.
    • withFiles

      public JobInputAsset 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.
      Overrides:
      withFiles in class JobInputClip
      Parameters:
      files - the files value to set.
      Returns:
      the JobInputClip object itself.
    • withStart

      public JobInputAsset 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.
      Overrides:
      withStart in class JobInputClip
      Parameters:
      start - the start value to set.
      Returns:
      the JobInputClip object itself.
    • withEnd

      public JobInputAsset 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.
      Overrides:
      withEnd in class JobInputClip
      Parameters:
      end - the end value to set.
      Returns:
      the JobInputClip object itself.
    • withLabel

      public JobInputAsset 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'.
      Overrides:
      withLabel in class JobInputClip
      Parameters:
      label - the label value to set.
      Returns:
      the JobInputClip object itself.
    • withInputDefinitions

      public JobInputAsset 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.
      Overrides:
      withInputDefinitions in class JobInputClip
      Parameters:
      inputDefinitions - the inputDefinitions value to set.
      Returns:
      the JobInputClip object itself.
    • validate

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