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

com.azure.messaging.eventgrid.systemevents.MediaJobOutputProgressEventData 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;

/**
 * Job Output Progress Event Data. Schema of the Data property of an EventGridEvent for a
 * Microsoft.Media.JobOutputProgress event.
 */
@Fluent
public final class MediaJobOutputProgressEventData {
    /*
     * Gets the Job output label.
     */
    @JsonProperty(value = "label")
    private String label;

    /*
     * Gets the Job output progress.
     */
    @JsonProperty(value = "progress")
    private Long progress;

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

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

    /**
     * Get the label property: Gets the Job output label.
     *
     * @return the label value.
     */
    public String getLabel() {
        return this.label;
    }

    /**
     * Set the label property: Gets the Job output label.
     *
     * @param label the label value to set.
     * @return the MediaJobOutputProgressEventData object itself.
     */
    public MediaJobOutputProgressEventData setLabel(String label) {
        this.label = label;
        return this;
    }

    /**
     * Get the progress property: Gets the Job output progress.
     *
     * @return the progress value.
     */
    public Long getProgress() {
        return this.progress;
    }

    /**
     * Set the progress property: Gets the Job output progress.
     *
     * @param progress the progress value to set.
     * @return the MediaJobOutputProgressEventData object itself.
     */
    public MediaJobOutputProgressEventData setProgress(Long progress) {
        this.progress = progress;
        return this;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy