com.azure.resourcemanager.azurestackhci.models.Severity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-azurestackhci Show documentation
Show all versions of azure-resourcemanager-azurestackhci Show documentation
This package contains Microsoft Azure SDK for AzureStackHci Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Stack HCI management service. Package tag package-2024-04.
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.resourcemanager.azurestackhci.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Severity of the result (Critical, Warning, Informational, Hidden). This answers how important the result is. Critical
* is the only update-blocking severity.
*/
public final class Severity extends ExpandableStringEnum {
/**
* Static value Critical for Severity.
*/
public static final Severity CRITICAL = fromString("Critical");
/**
* Static value Warning for Severity.
*/
public static final Severity WARNING = fromString("Warning");
/**
* Static value Informational for Severity.
*/
public static final Severity INFORMATIONAL = fromString("Informational");
/**
* Static value Hidden for Severity.
*/
public static final Severity HIDDEN = fromString("Hidden");
/**
* Creates a new instance of Severity value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Severity() {
}
/**
* Creates or finds a Severity from its string representation.
*
* @param name a name to look for.
* @return the corresponding Severity.
*/
public static Severity fromString(String name) {
return fromString(name, Severity.class);
}
/**
* Gets known Severity values.
*
* @return known Severity values.
*/
public static Collection values() {
return values(Severity.class);
}
}