@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 has not started creating
the backup.
CREATING
- Amazon FSx is creating the new user-intiated backup
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is backing up the file
system.
DELETED
- Amazon FSx deleted the backup and it is no longer available.
FAILED
- Amazon FSx could not complete the backup.
Enum Constant and Description |
---|
AVAILABLE |
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 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.