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

com.azure.resourcemanager.security.models.RuleCategory 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;

/**
 * Rule categories.
 * Code - code scanning results.
 * Artifact scanning results.
 * Dependencies scanning results.
 * IaC results.
 * Secrets scanning results.
 * Container scanning results.
 */
public final class RuleCategory extends ExpandableStringEnum {
    /**
     * Static value Code for RuleCategory.
     */
    public static final RuleCategory CODE = fromString("Code");

    /**
     * Static value Artifacts for RuleCategory.
     */
    public static final RuleCategory ARTIFACTS = fromString("Artifacts");

    /**
     * Static value Dependencies for RuleCategory.
     */
    public static final RuleCategory DEPENDENCIES = fromString("Dependencies");

    /**
     * Static value Secrets for RuleCategory.
     */
    public static final RuleCategory SECRETS = fromString("Secrets");

    /**
     * Static value IaC for RuleCategory.
     */
    public static final RuleCategory IAC = fromString("IaC");

    /**
     * Static value Containers for RuleCategory.
     */
    public static final RuleCategory CONTAINERS = fromString("Containers");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy