@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ScanStatus extends Enum<ScanStatus>
Enum Constant and Description |
---|
ACTIVE |
COMPLETE |
FAILED |
FINDINGS_UNAVAILABLE |
IN_PROGRESS |
PENDING |
SCAN_ELIGIBILITY_EXPIRED |
UNSUPPORTED_IMAGE |
Modifier and Type | Method and Description |
---|---|
static ScanStatus |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ScanStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanStatus IN_PROGRESS
public static final ScanStatus COMPLETE
public static final ScanStatus FAILED
public static final ScanStatus UNSUPPORTED_IMAGE
public static final ScanStatus ACTIVE
public static final ScanStatus PENDING
public static final ScanStatus SCAN_ELIGIBILITY_EXPIRED
public static final ScanStatus FINDINGS_UNAVAILABLE
public static ScanStatus[] values()
for (ScanStatus c : ScanStatus.values()) System.out.println(c);
public static ScanStatus 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<ScanStatus>
public static ScanStatus fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.