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

com.azure.ai.metricsadvisor.administration.models.AnomalySeverity Maven / Gradle / Ivy

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

package com.azure.ai.metricsadvisor.administration.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Defines values for AnomalySeverity.
 */
public final class AnomalySeverity extends ExpandableStringEnum {
    /**
     * Static value Low for AnomalySeverity.
     */
    public static final AnomalySeverity LOW = fromString("Low");

    /**
     * Static value Medium for AnomalySeverity.
     */
    public static final AnomalySeverity MEDIUM = fromString("Medium");

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

    /**
     * Constructs a AnomalySeverity object.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AnomalySeverity() {
    }

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

    /**
     * Returns the known AnomalySeverity values.
     *
     * @return known AnomalySeverity values.
     */
    public static Collection values() {
        return values(AnomalySeverity.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy