public static enum DiskInfo.CreationStatus extends Enum<DiskInfo.CreationStatus>
Enum Constant and Description |
---|
CREATING
The disk is being created.
|
FAILED
Disk creation failed.
|
READY
The disk has been created and is ready to use.
|
RESTORING
The disk is being restored.
|
Modifier and Type | Method and Description |
---|---|
static DiskInfo.CreationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskInfo.CreationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskInfo.CreationStatus CREATING
public static final DiskInfo.CreationStatus FAILED
public static final DiskInfo.CreationStatus READY
public static final DiskInfo.CreationStatus RESTORING
public static DiskInfo.CreationStatus[] values()
for (DiskInfo.CreationStatus c : DiskInfo.CreationStatus.values()) System.out.println(c);
public static DiskInfo.CreationStatus 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 © 2019 Google LLC. All rights reserved.