Class UsagesUnit
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<UsagesUnit>
-
- com.azure.resourcemanager.recoveryservicesbackup.models.UsagesUnit
-
public final class UsagesUnit extends com.azure.core.util.ExpandableStringEnum<UsagesUnit>
Defines values for UsagesUnit.
-
-
Field Summary
Fields Modifier and Type Field Description static UsagesUnit
BYTES
Static value Bytes for UsagesUnit.static UsagesUnit
BYTES_PER_SECOND
Static value BytesPerSecond for UsagesUnit.static UsagesUnit
COUNT
Static value Count for UsagesUnit.static UsagesUnit
COUNT_PER_SECOND
Static value CountPerSecond for UsagesUnit.static UsagesUnit
PERCENT
Static value Percent for UsagesUnit.static UsagesUnit
SECONDS
Static value Seconds for UsagesUnit.
-
Constructor Summary
Constructors Constructor Description UsagesUnit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UsagesUnit
fromString(String name)
Creates or finds a UsagesUnit from its string representation.static Collection<UsagesUnit>
values()
Gets known UsagesUnit values.
-
-
-
Field Detail
-
COUNT
public static final UsagesUnit COUNT
Static value Count for UsagesUnit.
-
BYTES
public static final UsagesUnit BYTES
Static value Bytes for UsagesUnit.
-
SECONDS
public static final UsagesUnit SECONDS
Static value Seconds for UsagesUnit.
-
PERCENT
public static final UsagesUnit PERCENT
Static value Percent for UsagesUnit.
-
COUNT_PER_SECOND
public static final UsagesUnit COUNT_PER_SECOND
Static value CountPerSecond for UsagesUnit.
-
BYTES_PER_SECOND
public static final UsagesUnit BYTES_PER_SECOND
Static value BytesPerSecond for UsagesUnit.
-
-
Method Detail
-
fromString
public static UsagesUnit fromString(String name)
Creates or finds a UsagesUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding UsagesUnit.
-
values
public static Collection<UsagesUnit> values()
Gets known UsagesUnit values.- Returns:
- known UsagesUnit values.
-
-