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