Enum SecurityAssessment.Type
- java.lang.Object
-
- java.lang.Enum<SecurityAssessment.Type>
-
- com.oracle.bmc.datasafe.model.SecurityAssessment.Type
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SecurityAssessment.Type>
- Enclosing class:
- SecurityAssessment
public static enum SecurityAssessment.Type extends Enum<SecurityAssessment.Type> implements BmcEnum
The type of this security assessment.The possible types are:
LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated. SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user). SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments. COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment. This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Compartment
Latest
Saved
SaveSchedule
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityAssessment.Type
create(String key)
String
getValue()
static SecurityAssessment.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecurityAssessment.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Latest
public static final SecurityAssessment.Type Latest
-
Saved
public static final SecurityAssessment.Type Saved
-
SaveSchedule
public static final SecurityAssessment.Type SaveSchedule
-
Compartment
public static final SecurityAssessment.Type Compartment
-
UnknownEnumValue
public static final SecurityAssessment.Type 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 SecurityAssessment.Type[] 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 (SecurityAssessment.Type c : SecurityAssessment.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityAssessment.Type 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 SecurityAssessment.Type create(String key)
-
-