MediaJobStateChangeEventData Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. MediaJobStateChangeEventData
- com.
public class MediaJobStateChangeEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobStateChange event.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MediaJobStateChangeEventData() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.Map<java.lang.String,java.lang.String> |
correlationData()
Get gets the Job correlation data. |
|
Media |
previousState()
Get the previous state of the Job. |
|
Media |
state()
Get the new state of the Job. |
|
Media |
withCorrelationData(Map<String,String> correlationData)
Set gets the Job correlation data. |
Methods inherited from java.lang.Object
Constructor Details
MediaJobStateChangeEventData
public MediaJobStateChangeEventData()
Method Details
correlationData
public Map<String,String> correlationData()
Get gets the Job correlation data.
Returns:
previousState
public MediaJobState previousState()
Get the previous state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.
Returns:
state
public MediaJobState state()
Get the new state of the Job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.
Returns:
withCorrelationData
public MediaJobStateChangeEventData withCorrelationData(Map<String,String> correlationData)
Set gets the Job correlation data.
Parameters:
Returns: