public static enum VolumeBackup.Status extends Enum<VolumeBackup.Status>
Enum Constant and Description |
---|
AVAILABLE |
CREATING |
DELETING |
ERROR |
ERROR_RESTORING |
RESTORING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VolumeBackup.Status |
fromValue(String status) |
String |
toString() |
String |
value() |
static VolumeBackup.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeBackup.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeBackup.Status AVAILABLE
public static final VolumeBackup.Status CREATING
public static final VolumeBackup.Status DELETING
public static final VolumeBackup.Status ERROR
public static final VolumeBackup.Status ERROR_RESTORING
public static final VolumeBackup.Status RESTORING
public static final VolumeBackup.Status UNRECOGNIZED
public static VolumeBackup.Status[] values()
for (VolumeBackup.Status c : VolumeBackup.Status.values()) System.out.println(c);
public static VolumeBackup.Status 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 String value()
public String toString()
toString
in class Enum<VolumeBackup.Status>
public static VolumeBackup.Status fromValue(String status)
Copyright © 2017. All rights reserved.