Class MediaJobStateChangeEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MediaJobStateChangeEventData
- Direct Known Subclasses:
MediaJobCanceledEventData
,MediaJobCancelingEventData
,MediaJobErroredEventData
,MediaJobFinishedEventData
,MediaJobProcessingEventData
,MediaJobScheduledEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobStateChange event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the correlationData property: Gets the Job correlation data.Get the previousState property: The previous state of the Job.getState()
Get the state property: The new state of the Job.setCorrelationData
(Map<String, String> correlationData) Set the correlationData property: Gets the Job correlation data.
-
Constructor Details
-
MediaJobStateChangeEventData
public MediaJobStateChangeEventData()
-
-
Method Details
-
getPreviousState
Get the previousState property: The previous state of the Job.- Returns:
- the previousState value.
-
getState
Get the state property: The new state of the Job.- Returns:
- the state value.
-
getCorrelationData
Get the correlationData property: Gets the Job correlation data.- Returns:
- the correlationData value.
-
setCorrelationData
Set the correlationData property: Gets the Job correlation data.- Parameters:
correlationData
- the correlationData value to set.- Returns:
- the MediaJobStateChangeEventData object itself.
-