MediaJobFinishedEventData.java

// 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.List;
import java.util.Map;

/**
 * Job finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobFinished event.
 */
@Fluent
public final class MediaJobFinishedEventData extends MediaJobStateChangeEventData {
    /*
     * Gets the Job outputs.
     */
    @JsonProperty(value = "outputs")
    private List<MediaJobOutput> outputs;

    /**
     * Get the outputs property: Gets the Job outputs.
     *
     * @return the outputs value.
     */
    public List<MediaJobOutput> getOutputs() {
        return this.outputs;
    }

    /**
     * Set the outputs property: Gets the Job outputs.
     *
     * @param outputs the outputs value to set.
     * @return the MediaJobFinishedEventData object itself.
     */
    public MediaJobFinishedEventData setOutputs(List<MediaJobOutput> outputs) {
        this.outputs = outputs;
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public MediaJobFinishedEventData setCorrelationData(Map<String, String> correlationData) {
        super.setCorrelationData(correlationData);
        return this;
    }
}