@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum AutomatedDiscoveryAccountUpdateErrorCode extends Enum<AutomatedDiscoveryAccountUpdateErrorCode>
The error code that indicates why a request failed to change the status of automated sensitive data discovery for an Amazon Macie account. Possible values are:
| Enum Constant and Description |
|---|
ACCOUNT_NOT_FOUND |
ACCOUNT_PAUSED |
| Modifier and Type | Method and Description |
|---|---|
static AutomatedDiscoveryAccountUpdateErrorCode |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static AutomatedDiscoveryAccountUpdateErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomatedDiscoveryAccountUpdateErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomatedDiscoveryAccountUpdateErrorCode ACCOUNT_PAUSED
public static final AutomatedDiscoveryAccountUpdateErrorCode ACCOUNT_NOT_FOUND
public static AutomatedDiscoveryAccountUpdateErrorCode[] values()
for (AutomatedDiscoveryAccountUpdateErrorCode c : AutomatedDiscoveryAccountUpdateErrorCode.values()) System.out.println(c);
public static AutomatedDiscoveryAccountUpdateErrorCode 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<AutomatedDiscoveryAccountUpdateErrorCode>public static AutomatedDiscoveryAccountUpdateErrorCode fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.