Class MediaJobOutput
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MediaJobOutput
- Direct Known Subclasses:
MediaJobOutputAsset
The event data for a Job output.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
Get the error property: Gets the Job output error.getLabel()
Get the label property: Gets the Job output label.long
Get the progress property: Gets the Job output progress.getState()
Get the state property: Gets the Job output state.setError
(MediaJobError error) Set the error property: Gets the Job output error.Set the label property: Gets the Job output label.setProgress
(long progress) Set the progress property: Gets the Job output progress.setState
(MediaJobState state) Set the state property: Gets the Job output state.
-
Constructor Details
-
MediaJobOutput
public MediaJobOutput()
-
-
Method Details
-
getError
Get the error property: Gets the Job output error.- Returns:
- the error value.
-
setError
Set the error property: Gets the Job output error.- Parameters:
error
- the error value to set.- Returns:
- the MediaJobOutput object itself.
-
getLabel
Get the label property: Gets the Job output label.- Returns:
- the label value.
-
setLabel
Set the label property: Gets the Job output label.- Parameters:
label
- the label value to set.- Returns:
- the MediaJobOutput object itself.
-
getProgress
public long getProgress()Get the progress property: Gets the Job output progress.- Returns:
- the progress value.
-
setProgress
Set the progress property: Gets the Job output progress.- Parameters:
progress
- the progress value to set.- Returns:
- the MediaJobOutput object itself.
-
getState
Get the state property: Gets the Job output state.- Returns:
- the state value.
-
setState
Set the state property: Gets the Job output state.- Parameters:
state
- the state value to set.- Returns:
- the MediaJobOutput object itself.
-