Class MediaJobStateChangeEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.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>correlationData()Get gets the Job correlation data.MediaJobStatepreviousState()Get the previous state of the Job.MediaJobStatestate()Get the new state of the Job.MediaJobStateChangeEventDatawithCorrelationData(Map<String,String> correlationData)Set gets the Job correlation data.
-
-
-
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
-
state
public MediaJobState state()
Get the new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.- Returns:
- the state value
-
correlationData
public Map<String,String> correlationData()
Get gets the Job correlation data.- Returns:
- the correlationData value
-
withCorrelationData
public MediaJobStateChangeEventData withCorrelationData(Map<String,String> correlationData)
Set gets the Job correlation data.- Parameters:
correlationData- the correlationData value to set- Returns:
- the MediaJobStateChangeEventData object itself.
-
-