public static enum AttachDiskOptions.DiskType extends Enum<AttachDiskOptions.DiskType>
| Enum Constant and Description |
|---|
PERSISTENT |
SCRATCH |
| Modifier and Type | Method and Description |
|---|---|
static AttachDiskOptions.DiskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachDiskOptions.DiskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachDiskOptions.DiskType SCRATCH
public static final AttachDiskOptions.DiskType PERSISTENT
public static AttachDiskOptions.DiskType[] values()
for (AttachDiskOptions.DiskType c : AttachDiskOptions.DiskType.values()) System.out.println(c);
public static AttachDiskOptions.DiskType 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 nullCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.