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 Details

    • MediaJobStateChangeEventData

      public MediaJobStateChangeEventData()
  • Method Details

    • 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.