Package com.oracle.bmc.dblm.model
Enum VulnerabilityScan.VulnerabilityScanType
- java.lang.Object
-
- java.lang.Enum<VulnerabilityScan.VulnerabilityScanType>
-
- com.oracle.bmc.dblm.model.VulnerabilityScan.VulnerabilityScanType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<VulnerabilityScan.VulnerabilityScanType>
- Enclosing class:
- VulnerabilityScan
public static enum VulnerabilityScan.VulnerabilityScanType extends Enum<VulnerabilityScan.VulnerabilityScanType> implements BmcEnum
Scan type is CVE, PATCH or IMAGE_PATCH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CveImagePatchPatchUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulnerabilityScan.VulnerabilityScanTypecreate(String key)StringgetValue()static VulnerabilityScan.VulnerabilityScanTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VulnerabilityScan.VulnerabilityScanType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Cve
public static final VulnerabilityScan.VulnerabilityScanType Cve
-
Patch
public static final VulnerabilityScan.VulnerabilityScanType Patch
-
ImagePatch
public static final VulnerabilityScan.VulnerabilityScanType ImagePatch
-
UnknownEnumValue
public static final VulnerabilityScan.VulnerabilityScanType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static VulnerabilityScan.VulnerabilityScanType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VulnerabilityScan.VulnerabilityScanType c : VulnerabilityScan.VulnerabilityScanType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulnerabilityScan.VulnerabilityScanType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
create
public static VulnerabilityScan.VulnerabilityScanType create(String key)
-
-