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

com.azure.resourcemanager.sql.models.MaxSizeUnit Maven / Gradle / Ivy

Go to download

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

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.sql.models;

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

/**
 * The units that the limit is expressed in.
 */
public final class MaxSizeUnit extends ExpandableStringEnum {
    /**
     * Static value Megabytes for MaxSizeUnit.
     */
    public static final MaxSizeUnit MEGABYTES = fromString("Megabytes");

    /**
     * Static value Gigabytes for MaxSizeUnit.
     */
    public static final MaxSizeUnit GIGABYTES = fromString("Gigabytes");

    /**
     * Static value Terabytes for MaxSizeUnit.
     */
    public static final MaxSizeUnit TERABYTES = fromString("Terabytes");

    /**
     * Static value Petabytes for MaxSizeUnit.
     */
    public static final MaxSizeUnit PETABYTES = fromString("Petabytes");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy