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

com.azure.ai.metricsadvisor.models.AnomalyIncidentStatus Maven / Gradle / Ivy

The 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.ai.metricsadvisor.models;

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

/**
 * Defines values for AnomalyIncidentStatus.
 */
public final class AnomalyIncidentStatus extends ExpandableStringEnum {
    /**
     * Static value Active for AnomalyIncidentStatus.
     */
    public static final AnomalyIncidentStatus ACTIVE = fromString("Active");

    /**
     * Static value Resolved for AnomalyIncidentStatus.
     */
    public static final AnomalyIncidentStatus RESOLVED = fromString("Resolved");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy