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