@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum DirectoryStage extends Enum<DirectoryStage>
Enum Constant and Description |
---|
Active |
Created |
Creating |
Deleted |
Deleting |
Failed |
Impaired |
Inoperable |
Requested |
RestoreFailed |
Restoring |
Modifier and Type | Method and Description |
---|---|
static DirectoryStage |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static DirectoryStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectoryStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectoryStage Requested
public static final DirectoryStage Creating
public static final DirectoryStage Created
public static final DirectoryStage Active
public static final DirectoryStage Inoperable
public static final DirectoryStage Impaired
public static final DirectoryStage Restoring
public static final DirectoryStage RestoreFailed
public static final DirectoryStage Deleting
public static final DirectoryStage Deleted
public static final DirectoryStage Failed
public static DirectoryStage[] values()
for (DirectoryStage c : DirectoryStage.values()) System.out.println(c);
public static DirectoryStage 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<DirectoryStage>
public static DirectoryStage fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.