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