Enum Class Instance.Status
- All Implemented Interfaces:
Serializable
,Comparable<Instance.Status>
,java.lang.constant.Constable
- Enclosing class:
Instance
Lists possible Instance status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe database instance is online and available to take requests.The database instance is unresponsive at the moment.The database instance is being provisioned.The database instance is rebooting.The database instance is being resized at the moment.The database instance is terminating services.Unrecognized status response. -
Method Summary
Modifier and TypeMethodDescriptionstatic Instance.Status
toString()
value()
static Instance.Status
Returns the enum constant of this class with the specified name.static Instance.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILD
The database instance is being provisioned. -
REBOOT
The database instance is rebooting. -
ACTIVE
The database instance is online and available to take requests. -
BLOCKED
The database instance is unresponsive at the moment. -
RESIZE
The database instance is being resized at the moment. -
SHUTDOWN
The database instance is terminating services. Also, SHUTDOWN is returned if for any reason the instance is shut down but not the actual server. -
UNRECOGNIZED
Unrecognized status response.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
toString
- Overrides:
toString
in classEnum<Instance.Status>
-
fromValue
-