Class UnitType
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<UnitType>
com.microsoft.azure.management.sql.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 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.
-
-
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
-