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

com.azure.resourcemanager.cosmos.models.ServerVersion Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show 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.cosmos.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Describes the version of the MongoDB account.
 */
public final class ServerVersion extends ExpandableStringEnum {
    /**
     * Static value 3.2 for ServerVersion.
     */
    public static final ServerVersion THREE_TWO = fromString("3.2");

    /**
     * Static value 3.6 for ServerVersion.
     */
    public static final ServerVersion THREE_SIX = fromString("3.6");

    /**
     * Static value 4.0 for ServerVersion.
     */
    public static final ServerVersion FOUR_ZERO = fromString("4.0");

    /**
     * Static value 4.2 for ServerVersion.
     */
    public static final ServerVersion FOUR_TWO = fromString("4.2");

    /**
     * Static value 5.0 for ServerVersion.
     */
    public static final ServerVersion FIVE_ZERO = fromString("5.0");

    /**
     * Static value 6.0 for ServerVersion.
     */
    public static final ServerVersion SIX_ZERO = fromString("6.0");

    /**
     * Static value 7.0 for ServerVersion.
     */
    public static final ServerVersion SEVEN_ZERO = fromString("7.0");

    /**
     * Creates a new instance of ServerVersion value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ServerVersion() {
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy