Class JobOutputAsset
java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobOutput
com.azure.resourcemanager.mediaservices.models.JobOutputAsset
Represents an Asset used as a JobOutput.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assetName property: The name of the output Asset.void
validate()
Validates the instance.withAssetName
(String assetName) Set the assetName property: The name of the output Asset.Set the label property: A label that is assigned to a JobOutput in order to help uniquely identify it.withPresetOverride
(Preset presetOverride) Set the presetOverride property: A preset used to override the preset in the corresponding transform output.
-
Constructor Details
-
JobOutputAsset
public JobOutputAsset()Creates an instance of JobOutputAsset class.
-
-
Method Details
-
assetName
Get the assetName property: The name of the output Asset.- Returns:
- the assetName value.
-
withAssetName
Set the assetName property: The name of the output Asset.- Parameters:
assetName
- the assetName value to set.- Returns:
- the JobOutputAsset object itself.
-
withPresetOverride
Set the presetOverride property: A preset used to override the preset in the corresponding transform output.- Overrides:
withPresetOverride
in classJobOutput
- Parameters:
presetOverride
- the presetOverride value to set.- Returns:
- the JobOutput object itself.
-
withLabel
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. -
validate
public void validate()Validates the instance.- Overrides:
validate
in classJobOutput
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-