UsageUnit Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. UsageUnit
- com.
- com.
public final class UsageUnit
extends ExpandableStringEnum<UsageUnit>
An enum describing the unit of measurement.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Usage |
COUNT
Static value Count for Usage |
Constructor Summary
Constructor | Description |
---|---|
UsageUnit() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Usage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Usage |
fromString(String name)
Creates or finds a Usage |
static
Collection<Usage |
values()
Gets known Usage |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COUNT
public static final UsageUnit COUNT
Static value Count for UsageUnit.
Constructor Details
UsageUnit
@Deprecated
public UsageUnit()
Deprecated
Creates a new instance of UsageUnit value.
Method Details
fromString
public static UsageUnit fromString(String name)
Creates or finds a UsageUnit from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known UsageUnit values.
Returns:
Applies to
Azure SDK for Java