All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.messaging.eventgrid.systemevents.MediaJobStateChangeEventData Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobStateChange event. */
@Fluent
public class MediaJobStateChangeEventData {
    /*
     * The previous state of the Job.
     */
    @JsonProperty(value = "previousState", access = JsonProperty.Access.WRITE_ONLY)
    private MediaJobState previousState;

    /*
     * The new state of the Job.
     */
    @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
    private MediaJobState state;

    /*
     * Gets the Job correlation data.
     */
    @JsonProperty(value = "correlationData")
    private Map correlationData;

    /** Creates an instance of MediaJobStateChangeEventData class. */
    public MediaJobStateChangeEventData() {}

    /**
     * Get the previousState property: The previous state of the Job.
     *
     * @return the previousState value.
     */
    public MediaJobState getPreviousState() {
        return this.previousState;
    }

    /**
     * Get the state property: The new state of the Job.
     *
     * @return the state value.
     */
    public MediaJobState getState() {
        return this.state;
    }

    /**
     * Get the correlationData property: Gets the Job correlation data.
     *
     * @return the correlationData value.
     */
    public Map getCorrelationData() {
        return this.correlationData;
    }

    /**
     * Set the correlationData property: Gets the Job correlation data.
     *
     * @param correlationData the correlationData value to set.
     * @return the MediaJobStateChangeEventData object itself.
     */
    public MediaJobStateChangeEventData setCorrelationData(Map correlationData) {
        this.correlationData = correlationData;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy