public enum RDSStatus extends Enum<RDSStatus>
Enum Constant and Description |
---|
AVAILABLE |
BACKING_UP |
CREATING |
DELETED |
DELETING |
FAILED |
INCOMPATIBLE_PARAMETERS |
INCOMPATIBLE_RESTORE |
MODIFYING |
REBOOTING |
RESETTING_MASTER_CREDENTIALS |
STORAGE_FULL |
Modifier and Type | Method and Description |
---|---|
String |
toRDSString()
Gets the string value of this status used in RDS calls.
|
static RDSStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RDSStatus |
valueOfRDSString(String s)
Gets the enum with the given RDS string value.
|
static RDSStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDSStatus AVAILABLE
public static final RDSStatus BACKING_UP
public static final RDSStatus CREATING
public static final RDSStatus DELETED
public static final RDSStatus DELETING
public static final RDSStatus FAILED
public static final RDSStatus INCOMPATIBLE_RESTORE
public static final RDSStatus INCOMPATIBLE_PARAMETERS
public static final RDSStatus MODIFYING
public static final RDSStatus REBOOTING
public static final RDSStatus RESETTING_MASTER_CREDENTIALS
public static final RDSStatus STORAGE_FULL
public static RDSStatus[] values()
for (RDSStatus c : RDSStatus.values()) System.out.println(c);
public static RDSStatus 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 toRDSString()
public static RDSStatus valueOfRDSString(String s)
s
- string valueNullPointerException
- if s is nullIllegalArgumentException
- if s does not correspond to an enumCopyright © 2016. All rights reserved.