@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum UsageStatisticType extends Enum<UsageStatisticType>
Enum Constant and Description |
---|
SUM_BY_ACCOUNT |
SUM_BY_DATA_SOURCE |
SUM_BY_FEATURES |
SUM_BY_RESOURCE |
TOP_ACCOUNTS_BY_FEATURE |
TOP_RESOURCES |
Modifier and Type | Method and Description |
---|---|
static UsageStatisticType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static UsageStatisticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageStatisticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageStatisticType SUM_BY_ACCOUNT
public static final UsageStatisticType SUM_BY_DATA_SOURCE
public static final UsageStatisticType SUM_BY_RESOURCE
public static final UsageStatisticType TOP_RESOURCES
public static final UsageStatisticType SUM_BY_FEATURES
public static final UsageStatisticType TOP_ACCOUNTS_BY_FEATURE
public static UsageStatisticType[] values()
for (UsageStatisticType c : UsageStatisticType.values()) System.out.println(c);
public static UsageStatisticType 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 toString()
toString
in class Enum<UsageStatisticType>
public static UsageStatisticType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.