@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum WorkspaceState extends Enum<WorkspaceState>
Enum Constant and Description |
---|
AVAILABLE |
ERROR |
IMPAIRED |
MAINTENANCE |
PENDING |
REBOOTING |
REBUILDING |
STARTING |
STOPPED |
STOPPING |
SUSPENDED |
TERMINATED |
TERMINATING |
UNHEALTHY |
Modifier and Type | Method and Description |
---|---|
static WorkspaceState |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static WorkspaceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspaceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspaceState PENDING
public static final WorkspaceState AVAILABLE
public static final WorkspaceState IMPAIRED
public static final WorkspaceState UNHEALTHY
public static final WorkspaceState REBOOTING
public static final WorkspaceState STARTING
public static final WorkspaceState REBUILDING
public static final WorkspaceState MAINTENANCE
public static final WorkspaceState TERMINATING
public static final WorkspaceState TERMINATED
public static final WorkspaceState SUSPENDED
public static final WorkspaceState STOPPING
public static final WorkspaceState STOPPED
public static final WorkspaceState ERROR
public static WorkspaceState[] values()
for (WorkspaceState c : WorkspaceState.values()) System.out.println(c);
public static WorkspaceState 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<WorkspaceState>
public static WorkspaceState 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.