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

com.azure.resourcemanager.security.models.RuleSeverity Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.

There is a newer version: 1.0.0
Show 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.security.models;

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

/**
 * The rule severity.
 */
public final class RuleSeverity extends ExpandableStringEnum {
    /**
     * Static value High for RuleSeverity.
     */
    public static final RuleSeverity HIGH = fromString("High");

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

    /**
     * Static value Low for RuleSeverity.
     */
    public static final RuleSeverity LOW = fromString("Low");

    /**
     * Static value Informational for RuleSeverity.
     */
    public static final RuleSeverity INFORMATIONAL = fromString("Informational");

    /**
     * Static value Obsolete for RuleSeverity.
     */
    public static final RuleSeverity OBSOLETE = fromString("Obsolete");

    /**
     * Creates a new instance of RuleSeverity value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public RuleSeverity() {
    }

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

    /**
     * Gets known RuleSeverity values.
     * 
     * @return known RuleSeverity values.
     */
    public static Collection values() {
        return values(RuleSeverity.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy