com.azure.resourcemanager.databoxedge.models.MetricUnit 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 units.
*/
public final class MetricUnit extends ExpandableStringEnum {
/**
* Static value NotSpecified for MetricUnit.
*/
public static final MetricUnit NOT_SPECIFIED = fromString("NotSpecified");
/**
* Static value Percent for MetricUnit.
*/
public static final MetricUnit PERCENT = fromString("Percent");
/**
* Static value Count for MetricUnit.
*/
public static final MetricUnit COUNT = fromString("Count");
/**
* Static value Seconds for MetricUnit.
*/
public static final MetricUnit SECONDS = fromString("Seconds");
/**
* Static value Milliseconds for MetricUnit.
*/
public static final MetricUnit MILLISECONDS = fromString("Milliseconds");
/**
* Static value Bytes for MetricUnit.
*/
public static final MetricUnit BYTES = fromString("Bytes");
/**
* Static value BytesPerSecond for MetricUnit.
*/
public static final MetricUnit BYTES_PER_SECOND = fromString("BytesPerSecond");
/**
* Static value CountPerSecond for MetricUnit.
*/
public static final MetricUnit COUNT_PER_SECOND = fromString("CountPerSecond");
/**
* Creates a new instance of MetricUnit value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public MetricUnit() {
}
/**
* Creates or finds a MetricUnit from its string representation.
*
* @param name a name to look for.
* @return the corresponding MetricUnit.
*/
public static MetricUnit fromString(String name) {
return fromString(name, MetricUnit.class);
}
/**
* Gets known MetricUnit values.
*
* @return known MetricUnit values.
*/
public static Collection values() {
return values(MetricUnit.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy