com.azure.resourcemanager.azurestackhci.models.ComplianceStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-azurestackhci Show documentation
Show all versions of azure-resourcemanager-azurestackhci Show documentation
This package contains Microsoft Azure SDK for AzureStackHci Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Stack HCI management service. Package tag package-2024-04.
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.azurestackhci.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Represents the compliance status of a resource.
*/
public final class ComplianceStatus extends ExpandableStringEnum {
/**
* Static value Compliant for ComplianceStatus.
*/
public static final ComplianceStatus COMPLIANT = fromString("Compliant");
/**
* Static value NonCompliant for ComplianceStatus.
*/
public static final ComplianceStatus NON_COMPLIANT = fromString("NonCompliant");
/**
* Static value Pending for ComplianceStatus.
*/
public static final ComplianceStatus PENDING = fromString("Pending");
/**
* Creates a new instance of ComplianceStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ComplianceStatus() {
}
/**
* Creates or finds a ComplianceStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding ComplianceStatus.
*/
public static ComplianceStatus fromString(String name) {
return fromString(name, ComplianceStatus.class);
}
/**
* Gets known ComplianceStatus values.
*
* @return known ComplianceStatus values.
*/
public static Collection values() {
return values(ComplianceStatus.class);
}
}