@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public enum UsageUnit extends Enum<UsageUnit>
Displays usage unit ( CORES, GB , PERCENT, MBPS)
| Enum Constant and Description |
|---|
Cores |
Gb |
Mbps |
Percent |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static UsageUnit |
create(String key) |
String |
getValue() |
static UsageUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageUnit Cores
public static final UsageUnit Gb
public static final UsageUnit Mbps
public static final UsageUnit Percent
public static final UsageUnit UnknownEnumValue
public static UsageUnit[] values()
for (UsageUnit c : UsageUnit.values()) System.out.println(c);
public static UsageUnit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2016–2021. All rights reserved.