com.azure.resourcemanager.hdinsight.models.RoleName 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;
/**
* Defines values for RoleName.
*/
public final class RoleName extends ExpandableStringEnum {
/**
* Static value workernode for RoleName.
*/
public static final RoleName WORKERNODE = fromString("workernode");
/**
* Creates a new instance of RoleName value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RoleName() {
}
/**
* Creates or finds a RoleName from its string representation.
*
* @param name a name to look for.
* @return the corresponding RoleName.
*/
public static RoleName fromString(String name) {
return fromString(name, RoleName.class);
}
/**
* Gets known RoleName values.
*
* @return known RoleName values.
*/
public static Collection values() {
return values(RoleName.class);
}
}