public static enum Constants.VolumeType extends Enum<Constants.VolumeType>
| Enum Constant and Description |
|---|
COST_OPTIMIZED |
HIGH_PERFORMANCE |
STANDARD |
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static Constants.VolumeType |
getById(int id) |
static Constants.VolumeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VolumeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VolumeType STANDARD
public static final Constants.VolumeType HIGH_PERFORMANCE
public static final Constants.VolumeType COST_OPTIMIZED
public static Constants.VolumeType[] values()
for (Constants.VolumeType c : Constants.VolumeType.values()) System.out.println(c);
public static Constants.VolumeType 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 Constants.VolumeType getById(int id)
Copyright © 2015. All rights reserved.