![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.securityinsights.models.AvailabilityStatus 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-2021-09.
// 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;
/**
* The connector Availability Status.
*/
public enum AvailabilityStatus {
/**
* Enum value 1.
*/
ONE(1);
/**
* The actual serialized value for a AvailabilityStatus instance.
*/
private final int value;
AvailabilityStatus(int value) {
this.value = value;
}
/**
* Parses a serialized value to a AvailabilityStatus instance.
*
* @param value the serialized value to parse.
* @return the parsed AvailabilityStatus object, or null if unable to parse.
*/
public static AvailabilityStatus fromInt(int value) {
AvailabilityStatus[] items = AvailabilityStatus.values();
for (AvailabilityStatus item : items) {
if (item.toInt() == value) {
return item;
}
}
return null;
}
/**
* De-serializes the instance to int value.
*
* @return the int value.
*/
public int toInt() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy