
com.azure.resourcemanager.resources.models.RegionCategory 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.resources.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The category of the region.
*/
public final class RegionCategory extends ExpandableStringEnum {
/**
* Static value Recommended for RegionCategory.
*/
public static final RegionCategory RECOMMENDED = fromString("Recommended");
/**
* Static value Extended for RegionCategory.
*/
public static final RegionCategory EXTENDED = fromString("Extended");
/**
* Static value Other for RegionCategory.
*/
public static final RegionCategory OTHER = fromString("Other");
/**
* Creates a new instance of RegionCategory value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RegionCategory() {
}
/**
* Creates or finds a RegionCategory from its string representation.
*
* @param name a name to look for.
* @return the corresponding RegionCategory.
*/
public static RegionCategory fromString(String name) {
return fromString(name, RegionCategory.class);
}
/**
* Gets known RegionCategory values.
*
* @return known RegionCategory values.
*/
public static Collection values() {
return values(RegionCategory.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy