Enum SecurityAssessmentSummary.Type
- java.lang.Object
-
- java.lang.Enum<SecurityAssessmentSummary.Type>
-
- com.oracle.bmc.datasafe.model.SecurityAssessmentSummary.Type
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<SecurityAssessmentSummary.Type>
- Enclosing class:
- SecurityAssessmentSummary
public static enum SecurityAssessmentSummary.Type extends Enum<SecurityAssessmentSummary.Type> implements BmcEnum
The type of the security assessment.Possible values 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 CompartmentLatestSavedSaveScheduleUnknownEnumValueThis 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 SecurityAssessmentSummary.Typecreate(String key)StringgetValue()static SecurityAssessmentSummary.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SecurityAssessmentSummary.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 SecurityAssessmentSummary.Type Latest
-
Saved
public static final SecurityAssessmentSummary.Type Saved
-
SaveSchedule
public static final SecurityAssessmentSummary.Type SaveSchedule
-
Compartment
public static final SecurityAssessmentSummary.Type Compartment
-
UnknownEnumValue
public static final SecurityAssessmentSummary.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 SecurityAssessmentSummary.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 (SecurityAssessmentSummary.Type c : SecurityAssessmentSummary.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 SecurityAssessmentSummary.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 SecurityAssessmentSummary.Type create(String key)
-
-