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

package com.azure.media.videoanalyzer.edge.models;

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

/** Defines values for LivePipelineState. */
public final class LivePipelineState extends ExpandableStringEnum<LivePipelineState> {
    /** Static value inactive for LivePipelineState. */
    public static final LivePipelineState INACTIVE = fromString("inactive");

    /** Static value activating for LivePipelineState. */
    public static final LivePipelineState ACTIVATING = fromString("activating");

    /** Static value active for LivePipelineState. */
    public static final LivePipelineState ACTIVE = fromString("active");

    /** Static value deactivating for LivePipelineState. */
    public static final LivePipelineState DEACTIVATING = fromString("deactivating");

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

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