Class JobOutput
java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobOutput
- Direct Known Subclasses:
JobOutputAsset
Describes all the properties of a JobOutput.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: The UTC date and time at which this Job Output finished processing.error()
Get the error property: If the JobOutput is in the Error state, it contains the details of the error.label()
Get the label property: A label that is assigned to a JobOutput in order to help uniquely identify it.Get the presetOverride property: A preset used to override the preset in the corresponding transform output.progress()
Get the progress property: If the JobOutput is in a Processing state, this contains the Job completion percentage.Get the startTime property: The UTC date and time at which this Job Output began processing.state()
Get the state property: Describes the state of the JobOutput.void
validate()
Validates the instance.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
-
JobOutput
public JobOutput()Creates an instance of JobOutput class.
-
-
Method Details
-
error
Get the error property: If the JobOutput is in the Error state, it contains the details of the error.- Returns:
- the error value.
-
presetOverride
Get the presetOverride property: A preset used to override the preset in the corresponding transform output.- Returns:
- the presetOverride value.
-
withPresetOverride
Set the presetOverride property: A preset used to override the preset in the corresponding transform output.- Parameters:
presetOverride
- the presetOverride value to set.- Returns:
- the JobOutput object itself.
-
state
Get the state property: Describes the state of the JobOutput.- Returns:
- the state value.
-
progress
Get the progress property: If the JobOutput is in a Processing state, this contains the Job completion percentage. The value is an estimate and not intended to be used to predict Job completion times. To determine if the JobOutput is complete, use the State property.- Returns:
- the progress value.
-
label
Get 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.- Returns:
- the label value.
-
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.- Parameters:
label
- the label value to set.- Returns:
- the JobOutput object itself.
-
startTime
Get the startTime property: The UTC date and time at which this Job Output began processing.- Returns:
- the startTime value.
-
endTime
Get the endTime property: The UTC date and time at which this Job Output finished processing.- Returns:
- the endTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-