@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ServerStatus extends Enum<ServerStatus>
Enum Constant and Description |
---|
BACKING_UP |
CONNECTION_LOST |
CREATING |
DELETING |
FAILED |
HEALTHY |
MODIFYING |
RESTORING |
RUNNING |
SETUP |
TERMINATED |
UNDER_MAINTENANCE |
UNHEALTHY |
Modifier and Type | Method and Description |
---|---|
static ServerStatus |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus BACKING_UP
public static final ServerStatus CONNECTION_LOST
public static final ServerStatus CREATING
public static final ServerStatus DELETING
public static final ServerStatus MODIFYING
public static final ServerStatus FAILED
public static final ServerStatus HEALTHY
public static final ServerStatus RUNNING
public static final ServerStatus RESTORING
public static final ServerStatus SETUP
public static final ServerStatus UNDER_MAINTENANCE
public static final ServerStatus UNHEALTHY
public static final ServerStatus TERMINATED
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus 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<ServerStatus>
public static ServerStatus fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.