All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.appplatform.models.RuntimeVersion Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.42.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.resourcemanager.appplatform.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for RuntimeVersion. */
public final class RuntimeVersion extends ExpandableStringEnum {
    /** Static value Java_8 for RuntimeVersion. */
    public static final RuntimeVersion JAVA_8 = fromString("Java_8");

    /** Static value Java_11 for RuntimeVersion. */
    public static final RuntimeVersion JAVA_11 = fromString("Java_11");

    /** Static value Java_17 for RuntimeVersion. */
    public static final RuntimeVersion JAVA_17 = fromString("Java_17");

    /** Static value NetCore_31 for RuntimeVersion. */
    public static final RuntimeVersion NET_CORE_31 = fromString("NetCore_31");

    /**
     * Creates or finds a RuntimeVersion from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding RuntimeVersion.
     */
    @JsonCreator
    public static RuntimeVersion fromString(String name) {
        return fromString(name, RuntimeVersion.class);
    }

    /** @return known RuntimeVersion values. */
    public static Collection values() {
        return values(RuntimeVersion.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy