com.azure.resourcemanager.databoxedge.models.AlertSeverity 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.resourcemanager.databoxedge.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Severity of the alert.
*/
public final class AlertSeverity extends ExpandableStringEnum {
/**
* Static value Informational for AlertSeverity.
*/
public static final AlertSeverity INFORMATIONAL = fromString("Informational");
/**
* Static value Warning for AlertSeverity.
*/
public static final AlertSeverity WARNING = fromString("Warning");
/**
* Static value Critical for AlertSeverity.
*/
public static final AlertSeverity CRITICAL = fromString("Critical");
/**
* Creates a new instance of AlertSeverity value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AlertSeverity() {
}
/**
* Creates or finds a AlertSeverity from its string representation.
*
* @param name a name to look for.
* @return the corresponding AlertSeverity.
*/
public static AlertSeverity fromString(String name) {
return fromString(name, AlertSeverity.class);
}
/**
* Gets known AlertSeverity values.
*
* @return known AlertSeverity values.
*/
public static Collection values() {
return values(AlertSeverity.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy