Class MediaJobOutputStateChangeEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MediaJobOutputStateChangeEventData
- Direct Known Subclasses:
MediaJobOutputCanceledEventData,MediaJobOutputCancelingEventData,MediaJobOutputErroredEventData,MediaJobOutputFinishedEventData,MediaJobOutputProcessingEventData,MediaJobOutputScheduledEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MediaJobOutputStateChangeEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the jobCorrelationData property: Gets the Job correlation data.Get the output property: Gets the output.Get the previousState property: The previous state of the Job.setJobCorrelationData(Map<String, String> jobCorrelationData) Set the jobCorrelationData property: Gets the Job correlation data.setOutput(MediaJobOutput output) Set the output property: Gets the output.
-
Constructor Details
-
MediaJobOutputStateChangeEventData
public MediaJobOutputStateChangeEventData()Creates an instance of MediaJobOutputStateChangeEventData class.
-
-
Method Details
-
getPreviousState
Get the previousState property: The previous state of the Job.- Returns:
- the previousState value.
-
getOutput
Get the output property: Gets the output.- Returns:
- the output value.
-
setOutput
Set the output property: Gets the output.- Parameters:
output- the output value to set.- Returns:
- the MediaJobOutputStateChangeEventData object itself.
-
getJobCorrelationData
Get the jobCorrelationData property: Gets the Job correlation data.- Returns:
- the jobCorrelationData value.
-
setJobCorrelationData
public MediaJobOutputStateChangeEventData setJobCorrelationData(Map<String, String> jobCorrelationData) Set the jobCorrelationData property: Gets the Job correlation data.- Parameters:
jobCorrelationData- the jobCorrelationData value to set.- Returns:
- the MediaJobOutputStateChangeEventData object itself.
-