MediaJobOutputStateChangeEventData Class

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

public class MediaJobOutputStateChangeEventData

Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event.

Constructor Summary

Constructor Description
MediaJobOutputStateChangeEventData()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,java.lang.String> jobCorrelationData()

Get gets the Job correlation data.

MediaJobOutput output()

Get gets the output.

MediaJobState previousState()

Get the previous state of the Job.

MediaJobOutputStateChangeEventData withJobCorrelationData(Map<String,String> jobCorrelationData)

Set gets the Job correlation data.

MediaJobOutputStateChangeEventData withOutput(MediaJobOutput output)

Set gets the output.

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

MediaJobOutputStateChangeEventData

public MediaJobOutputStateChangeEventData()

Method Details

jobCorrelationData

public Map jobCorrelationData()

Get gets the Job correlation data.

Returns:

the jobCorrelationData value

output

public MediaJobOutput output()

Get gets the output.

Returns:

the output 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

withJobCorrelationData

public MediaJobOutputStateChangeEventData withJobCorrelationData(Map jobCorrelationData)

Set gets the Job correlation data.

Parameters:

jobCorrelationData - the jobCorrelationData value to set

Returns:

the MediaJobOutputStateChangeEventData object itself.

withOutput

public MediaJobOutputStateChangeEventData withOutput(MediaJobOutput output)

Set gets the output.

Parameters:

output - the output value to set

Returns:

the MediaJobOutputStateChangeEventData object itself.

Applies to