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

com.azure.resourcemanager.databoxedge.models.MetricCategory Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.databoxedge.models;

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

/**
 * Metric category.
 */
public final class MetricCategory extends ExpandableStringEnum {
    /**
     * Static value Capacity for MetricCategory.
     */
    public static final MetricCategory CAPACITY = fromString("Capacity");

    /**
     * Static value Transaction for MetricCategory.
     */
    public static final MetricCategory TRANSACTION = fromString("Transaction");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy