Class UnitType
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<UnitType>
com.microsoft.azure.management.cosmosdb.UnitType
Defines values for UnitType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final UnitType
Static value Bytes for UnitType.static final UnitType
Static value BytesPerSecond for UnitType.static final UnitType
Static value Count for UnitType.static final UnitType
Static value CountPerSecond for UnitType.static final UnitType
Static value Milliseconds for UnitType.static final UnitType
Static value Percent for UnitType.static final UnitType
Static value Seconds for UnitType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnitType
fromString
(String name) Creates or finds a UnitType from its string representation.static Collection<UnitType>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
COUNT
Static value Count for UnitType. -
BYTES
Static value Bytes for UnitType. -
SECONDS
Static value Seconds for UnitType. -
PERCENT
Static value Percent for UnitType. -
COUNT_PER_SECOND
Static value CountPerSecond for UnitType. -
BYTES_PER_SECOND
Static value BytesPerSecond for UnitType. -
MILLISECONDS
Static value Milliseconds for UnitType.
-
-
Constructor Details
-
UnitType
public UnitType()
-
-
Method Details
-
fromString
Creates or finds a UnitType from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding UnitType
-
values
- Returns:
- known UnitType values
-