// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mediaservices.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses
 * for processing TransformOutputs. The default priority is Normal.
 */
public final class Priority extends ExpandableStringEnum<Priority> {
    /** Static value Low for Priority. */
    public static final Priority LOW = fromString("Low");

    /** Static value Normal for Priority. */
    public static final Priority NORMAL = fromString("Normal");

    /** Static value High for Priority. */
    public static final Priority HIGH = fromString("High");

    /**
     * Creates a new instance of Priority value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public Priority() {
    }

    /**
     * Creates or finds a Priority from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding Priority.
     */
    @JsonCreator
    public static Priority fromString(String name) {
        return fromString(name, Priority.class);
    }

    /**
     * Gets known Priority values.
     *
     * @return known Priority values.
     */
    public static Collection<Priority> values() {
        return values(Priority.class);
    }
}
