com.azure.resourcemanager.security.models.RuleStatus 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.security.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The rule result status.
*/
public final class RuleStatus extends ExpandableStringEnum {
/**
* Static value NonFinding for RuleStatus.
*/
public static final RuleStatus NON_FINDING = fromString("NonFinding");
/**
* Static value Finding for RuleStatus.
*/
public static final RuleStatus FINDING = fromString("Finding");
/**
* Static value InternalError for RuleStatus.
*/
public static final RuleStatus INTERNAL_ERROR = fromString("InternalError");
/**
* Creates a new instance of RuleStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RuleStatus() {
}
/**
* Creates or finds a RuleStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding RuleStatus.
*/
public static RuleStatus fromString(String name) {
return fromString(name, RuleStatus.class);
}
/**
* Gets known RuleStatus values.
*
* @return known RuleStatus values.
*/
public static Collection values() {
return values(RuleStatus.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy