public static enum DiskConfiguration.Type extends Enum<DiskConfiguration.Type>
| Enum Constant and Description |
|---|
IMAGE
A Google Compute Engine disk configuration that creates a disk from an image.
|
SNAPSHOT
A Google Compute Engine disk configuration that creates a disk from a snapshot.
|
STANDARD
A Google Compute Engine standard disk configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static DiskConfiguration.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskConfiguration.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskConfiguration.Type STANDARD
public static final DiskConfiguration.Type IMAGE
public static final DiskConfiguration.Type SNAPSHOT
public static DiskConfiguration.Type[] values()
for (DiskConfiguration.Type c : DiskConfiguration.Type.values()) System.out.println(c);
public static DiskConfiguration.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 © 2018 Google LLC. All rights reserved.