Class MediaJobOutputStateChangeEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.MediaJobOutputStateChangeEventData
-
- Direct Known Subclasses:
MediaJobOutputCanceledEventData,MediaJobOutputCancelingEventData,MediaJobOutputErroredEventData,MediaJobOutputFinishedEventData,MediaJobOutputProcessingEventData,MediaJobOutputScheduledEventData
public class MediaJobOutputStateChangeEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event.
-
-
Constructor Summary
Constructors Constructor Description MediaJobOutputStateChangeEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>jobCorrelationData()Get gets the Job correlation data.MediaJobOutputoutput()Get gets the output.MediaJobStatepreviousState()Get the previous state of the Job.MediaJobOutputStateChangeEventDatawithJobCorrelationData(Map<String,String> jobCorrelationData)Set gets the Job correlation data.MediaJobOutputStateChangeEventDatawithOutput(MediaJobOutput output)Set gets the output.
-
-
-
Method Detail
-
previousState
public MediaJobState previousState()
Get the previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.- Returns:
- the previousState value
-
output
public MediaJobOutput output()
Get gets the output.- Returns:
- the output value
-
withOutput
public MediaJobOutputStateChangeEventData withOutput(MediaJobOutput output)
Set gets the output.- Parameters:
output- the output value to set- Returns:
- the MediaJobOutputStateChangeEventData object itself.
-
jobCorrelationData
public Map<String,String> jobCorrelationData()
Get gets the Job correlation data.- Returns:
- the jobCorrelationData value
-
withJobCorrelationData
public MediaJobOutputStateChangeEventData withJobCorrelationData(Map<String,String> jobCorrelationData)
Set gets the Job correlation data.- Parameters:
jobCorrelationData- the jobCorrelationData value to set- Returns:
- the MediaJobOutputStateChangeEventData object itself.
-
-