com.azure.resourcemanager.securityinsights.models.AlertStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-securityinsights Show documentation
Show all versions of azure-resourcemanager-securityinsights Show documentation
This package contains Microsoft Azure SDK for SecurityInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider. Package tag package-preview-2022-09.
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.securityinsights.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The lifecycle status of the alert.
*/
public final class AlertStatus extends ExpandableStringEnum {
/**
* Static value Unknown for AlertStatus.
*/
public static final AlertStatus UNKNOWN = fromString("Unknown");
/**
* Static value New for AlertStatus.
*/
public static final AlertStatus NEW = fromString("New");
/**
* Static value Resolved for AlertStatus.
*/
public static final AlertStatus RESOLVED = fromString("Resolved");
/**
* Static value Dismissed for AlertStatus.
*/
public static final AlertStatus DISMISSED = fromString("Dismissed");
/**
* Static value InProgress for AlertStatus.
*/
public static final AlertStatus IN_PROGRESS = fromString("InProgress");
/**
* Creates a new instance of AlertStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AlertStatus() {
}
/**
* Creates or finds a AlertStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding AlertStatus.
*/
public static AlertStatus fromString(String name) {
return fromString(name, AlertStatus.class);
}
/**
* Gets known AlertStatus values.
*
* @return known AlertStatus values.
*/
public static Collection values() {
return values(AlertStatus.class);
}
}