Поделиться через


MediaJobStateChangeEventData Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.MediaJobStateChangeEventData

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.

MediaJobState previousState()

Get the previous state of the Job.

MediaJobState state()

Get the new state of the Job.

MediaJobStateChangeEventData withCorrelationData(Map<String,String> correlationData)

Set gets the Job correlation data.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MediaJobStateChangeEventData

public MediaJobStateChangeEventData()

Method Details

correlationData

public Map<String,String> correlationData()

Get gets the Job correlation data.

Returns:

the correlationData value

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

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.

Applies to