@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum BackupLifecycle extends Enum<BackupLifecycle>
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating the
backup.
CREATING
- Amazon FSx is creating the new user-initiated backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is backing up the file
system.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
Enum Constant and Description |
---|
AVAILABLE |
COPYING |
CREATING |
DELETED |
FAILED |
PENDING |
TRANSFERRING |
Modifier and Type | Method and Description |
---|---|
static BackupLifecycle |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static BackupLifecycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupLifecycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupLifecycle AVAILABLE
public static final BackupLifecycle CREATING
public static final BackupLifecycle TRANSFERRING
public static final BackupLifecycle DELETED
public static final BackupLifecycle FAILED
public static final BackupLifecycle PENDING
public static final BackupLifecycle COPYING
public static BackupLifecycle[] values()
for (BackupLifecycle c : BackupLifecycle.values()) System.out.println(c);
public static BackupLifecycle 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 toString()
toString
in class Enum<BackupLifecycle>
public static BackupLifecycle fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.