com.azure.resourcemanager.hdinsight.models.Tier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hdinsight Show documentation
Show all versions of azure-resourcemanager-hdinsight Show documentation
This package contains Microsoft Azure SDK for HDInsight Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. HDInsight Management Client. Package tag package-2024-08-preview.
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.hdinsight.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The cluster tier.
*/
public final class Tier extends ExpandableStringEnum {
/**
* Static value Standard for Tier.
*/
public static final Tier STANDARD = fromString("Standard");
/**
* Static value Premium for Tier.
*/
public static final Tier PREMIUM = fromString("Premium");
/**
* Creates a new instance of Tier value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Tier() {
}
/**
* Creates or finds a Tier from its string representation.
*
* @param name a name to look for.
* @return the corresponding Tier.
*/
public static Tier fromString(String name) {
return fromString(name, Tier.class);
}
/**
* Gets known Tier values.
*
* @return known Tier values.
*/
public static Collection values() {
return values(Tier.class);
}
}