com.azure.resourcemanager.security.models.Code Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-security Show documentation
Show all versions of azure-resourcemanager-security Show documentation
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.
// 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 operation status code.
*/
public final class Code extends ExpandableStringEnum {
/**
* Static value Succeeded for Code.
*/
public static final Code SUCCEEDED = fromString("Succeeded");
/**
* Static value Failed for Code.
*/
public static final Code FAILED = fromString("Failed");
/**
* Creates a new instance of Code value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Code() {
}
/**
* Creates or finds a Code from its string representation.
*
* @param name a name to look for.
* @return the corresponding Code.
*/
public static Code fromString(String name) {
return fromString(name, Code.class);
}
/**
* Gets known Code values.
*
* @return known Code values.
*/
public static Collection values() {
return values(Code.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy