public static enum Instance.Status extends Enum<Instance.Status>
Enum Constant and Description |
---|
ACTIVE
The database instance is online and available to take requests.
|
BLOCKED
The database instance is unresponsive at the moment.
|
BUILD
The database instance is being provisioned.
|
REBOOT
The database instance is rebooting.
|
RESIZE
The database instance is being resized at the moment.
|
SHUTDOWN
The database instance is terminating services.
|
UNRECOGNIZED
Unrecognized status response.
|
Modifier and Type | Method and Description |
---|---|
static Instance.Status |
fromValue(String status) |
String |
toString() |
String |
value() |
static Instance.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Status BUILD
public static final Instance.Status REBOOT
public static final Instance.Status ACTIVE
public static final Instance.Status BLOCKED
public static final Instance.Status RESIZE
public static final Instance.Status SHUTDOWN
public static final Instance.Status UNRECOGNIZED
public static Instance.Status[] values()
for (Instance.Status c : Instance.Status.values()) System.out.println(c);
public static Instance.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<Instance.Status>
public static Instance.Status fromValue(String status)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.