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