public class NetworkUsageUnit extends ExpandableStringEnum<NetworkUsageUnit>
Modifier and Type | Field and Description |
---|---|
static NetworkUsageUnit |
BYTES
Static value Bytes for NetworkUsageUnit.
|
static NetworkUsageUnit |
BYTES_PER_SECOND
Static value BytesPerSecond for ComputeUsageUnit.
|
static NetworkUsageUnit |
COUNT
Static value Count for NetworkUsageUnit.
|
static NetworkUsageUnit |
COUNTS_PER_SECOND
Static value CountsPerSecond for NetworkUsageUnit.
|
static NetworkUsageUnit |
PERCENT
Static value Percent for NetworkUsageUnit.
|
static NetworkUsageUnit |
SECONDS
Static value Seconds for NetworkUsageUnit.
|
Constructor and Description |
---|
NetworkUsageUnit() |
Modifier and Type | Method and Description |
---|---|
static NetworkUsageUnit |
fromString(String name)
Finds or creates a network usage unit based on the specified name.
|
static Collection<NetworkUsageUnit> |
values() |
equals, fromString, hashCode, toString, values, withNameValue
public static final NetworkUsageUnit COUNT
public static final NetworkUsageUnit BYTES
public static final NetworkUsageUnit SECONDS
public static final NetworkUsageUnit PERCENT
public static final NetworkUsageUnit COUNTS_PER_SECOND
public static final NetworkUsageUnit BYTES_PER_SECOND
public static NetworkUsageUnit fromString(String name)
name
- a namepublic static Collection<NetworkUsageUnit> values()
Copyright © 2019. All rights reserved.