Class JobOutputAsset

java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobOutput
com.azure.resourcemanager.mediaservices.models.JobOutputAsset

public final class JobOutputAsset extends JobOutput
Represents an Asset used as a JobOutput.
  • Constructor Details

    • JobOutputAsset

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

    • assetName

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

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

      public JobOutputAsset withPresetOverride(Preset presetOverride)
      Set the presetOverride property: A preset used to override the preset in the corresponding transform output.
      Overrides:
      withPresetOverride in class JobOutput
      Parameters:
      presetOverride - the presetOverride value to set.
      Returns:
      the JobOutput object itself.
    • withLabel

      public JobOutputAsset withLabel(String label)
      Set the label property: A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
      Overrides:
      withLabel in class JobOutput
      Parameters:
      label - the label value to set.
      Returns:
      the JobOutput object itself.
    • validate

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