@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ActiveDirectoryErrorType extends Enum<ActiveDirectoryErrorType>
The type of error relating to Microsoft Active Directory. NOT_FOUND means that no directory was found by specifying the given directory. INCOMPATIBLE_MODE means that the directory specified is not a Microsoft AD directory. WRONG_VPC means that the specified directory isn't accessible from the specified VPC. WRONG_STAGE means that the specified directory isn't currently in the ACTIVE state.
Enum Constant and Description |
---|
DOMAIN_NOT_FOUND |
INCOMPATIBLE_DOMAIN_MODE |
INVALID_DOMAIN_STAGE |
WRONG_VPC |
Modifier and Type | Method and Description |
---|---|
static ActiveDirectoryErrorType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ActiveDirectoryErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveDirectoryErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveDirectoryErrorType DOMAIN_NOT_FOUND
public static final ActiveDirectoryErrorType INCOMPATIBLE_DOMAIN_MODE
public static final ActiveDirectoryErrorType WRONG_VPC
public static final ActiveDirectoryErrorType INVALID_DOMAIN_STAGE
public static ActiveDirectoryErrorType[] values()
for (ActiveDirectoryErrorType c : ActiveDirectoryErrorType.values()) System.out.println(c);
public static ActiveDirectoryErrorType 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<ActiveDirectoryErrorType>
public static ActiveDirectoryErrorType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.