UnitType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<UnitType> - com.
microsoft. azure. management. sql. UnitType
- com.
- com.
public class UnitType
Defines values for UnitType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Unit |
BYTES
Static value bytes for UnitType. |
final Unit |
BYTES_PER_SECOND
Static value bytesPerSecond for UnitType. |
final Unit |
COUNT
Static value count for UnitType. |
final Unit |
COUNT_PER_SECOND
Static value countPerSecond for UnitType. |
final Unit |
PERCENT
Static value percent for UnitType. |
final Unit |
SECONDS
Static value seconds for UnitType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Unit |
fromString(String name)
Creates or finds a UnitType from its string representation. |
Collection<Unit |
values() |
Field Details
BYTES
public static final UnitType BYTES= fromString("bytes")
Static value bytes for UnitType.
BYTES_PER_SECOND
public static final UnitType BYTES_PER_SECOND= fromString("bytesPerSecond")
Static value bytesPerSecond for UnitType.
COUNT
public static final UnitType COUNT= fromString("count")
Static value count for UnitType.
COUNT_PER_SECOND
public static final UnitType COUNT_PER_SECOND= fromString("countPerSecond")
Static value countPerSecond for UnitType.
PERCENT
public static final UnitType PERCENT= fromString("percent")
Static value percent for UnitType.
SECONDS
public static final UnitType SECONDS= fromString("seconds")
Static value seconds for UnitType.
Method Details
fromString
public static UnitType fromString(String name)
Creates or finds a UnitType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java