com.azure.resourcemanager.storage.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-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Severity of the issue.
*/
public final class Severity extends ExpandableStringEnum {
/**
* Static value Warning for Severity.
*/
public static final Severity WARNING = fromString("Warning");
/**
* Static value Error for Severity.
*/
public static final Severity ERROR = fromString("Error");
/**
* 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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy