com.azure.resourcemanager.appplatform.models.SupportedRuntimeValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* The raw value which could be passed to deployment CRUD operations.
*/
public final class SupportedRuntimeValue extends ExpandableStringEnum {
/**
* Static value Java_8 for SupportedRuntimeValue.
*/
public static final SupportedRuntimeValue JAVA_8 = fromString("Java_8");
/**
* Static value Java_11 for SupportedRuntimeValue.
*/
public static final SupportedRuntimeValue JAVA_11 = fromString("Java_11");
/**
* Static value Java_17 for SupportedRuntimeValue.
*/
public static final SupportedRuntimeValue JAVA_17 = fromString("Java_17");
/**
* Static value NetCore_31 for SupportedRuntimeValue.
*/
public static final SupportedRuntimeValue NET_CORE_31 = fromString("NetCore_31");
/**
* Creates a new instance of SupportedRuntimeValue value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SupportedRuntimeValue() {
}
/**
* Creates or finds a SupportedRuntimeValue from its string representation.
*
* @param name a name to look for.
* @return the corresponding SupportedRuntimeValue.
*/
@JsonCreator
public static SupportedRuntimeValue fromString(String name) {
return fromString(name, SupportedRuntimeValue.class);
}
/**
* Gets known SupportedRuntimeValue values.
*
* @return known SupportedRuntimeValue values.
*/
public static Collection values() {
return values(SupportedRuntimeValue.class);
}
}