@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum UsageType extends Enum<UsageType>
The name of an Amazon Macie usage metric for an account. Possible values are:
Enum Constant and Description |
---|
AUTOMATED_OBJECT_MONITORING |
AUTOMATED_SENSITIVE_DATA_DISCOVERY |
DATA_INVENTORY_EVALUATION |
SENSITIVE_DATA_DISCOVERY |
Modifier and Type | Method and Description |
---|---|
static UsageType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static UsageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageType DATA_INVENTORY_EVALUATION
public static final UsageType SENSITIVE_DATA_DISCOVERY
public static final UsageType AUTOMATED_SENSITIVE_DATA_DISCOVERY
public static final UsageType AUTOMATED_OBJECT_MONITORING
public static UsageType[] values()
for (UsageType c : UsageType.values()) System.out.println(c);
public static UsageType 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 static UsageType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.