Class MediaJobOutput
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.MediaJobOutput
-
- Direct Known Subclasses:
MediaJobOutputAsset
public class MediaJobOutput extends Object
The event data for a Job output.
-
-
Constructor Summary
Constructors Constructor Description MediaJobOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaJobError
getError()
Get the error property: Gets the Job output error.String
getLabel()
Get the label property: Gets the Job output label.long
getProgress()
Get the progress property: Gets the Job output progress.MediaJobState
getState()
Get the state property: Gets the Job output state.MediaJobOutput
setError(MediaJobError error)
Set the error property: Gets the Job output error.MediaJobOutput
setLabel(String label)
Set the label property: Gets the Job output label.MediaJobOutput
setProgress(long progress)
Set the progress property: Gets the Job output progress.MediaJobOutput
setState(MediaJobState state)
Set the state property: Gets the Job output state.
-
-
-
Method Detail
-
getError
public MediaJobError getError()
Get the error property: Gets the Job output error.- Returns:
- the error value.
-
setError
public MediaJobOutput setError(MediaJobError error)
Set the error property: Gets the Job output error.- Parameters:
error
- the error value to set.- Returns:
- the MediaJobOutput object itself.
-
getLabel
public String getLabel()
Get the label property: Gets the Job output label.- Returns:
- the label value.
-
setLabel
public MediaJobOutput setLabel(String label)
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
public MediaJobOutput setProgress(long progress)
Set the progress property: Gets the Job output progress.- Parameters:
progress
- the progress value to set.- Returns:
- the MediaJobOutput object itself.
-
getState
public MediaJobState getState()
Get the state property: Gets the Job output state.- Returns:
- the state value.
-
setState
public MediaJobOutput setState(MediaJobState state)
Set the state property: Gets the Job output state.- Parameters:
state
- the state value to set.- Returns:
- the MediaJobOutput object itself.
-
-