Enum UserAssessment.Type
- java.lang.Object
-
- java.lang.Enum<UserAssessment.Type>
-
- com.oracle.bmc.datasafe.model.UserAssessment.Type
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UserAssessment.Type>
- Enclosing class:
- UserAssessment
public static enum UserAssessment.Type extends Enum<UserAssessment.Type> implements BmcEnum
The type of the user assessment.The possible types are:
LATEST: The latest assessment that was executed for a target. It can either be system generated as part of the scheduled assessments or user driven by refreshing the latest assessment. SAVED: A saved user assessment. All user assessments are saved in the user assessment history. SAVE_SCHEDULE: The schedule to periodically save the LATEST assessment of a target database. COMPARTMENT: An automatic managed assessment type that stores all details of the targets in one compartment. This will keep an up-to-date status of all potential risks identified in the compartment. It also keeps track of user count and target count for each profile available on the targets in a given compartment. It is automatically updated once the latest assessment or refresh action is executed, as well as when a target is deleted or moved 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 UserAssessment.Type
create(String key)
String
getValue()
static UserAssessment.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserAssessment.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 UserAssessment.Type Latest
-
Saved
public static final UserAssessment.Type Saved
-
SaveSchedule
public static final UserAssessment.Type SaveSchedule
-
Compartment
public static final UserAssessment.Type Compartment
-
UnknownEnumValue
public static final UserAssessment.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 UserAssessment.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 (UserAssessment.Type c : UserAssessment.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 UserAssessment.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 UserAssessment.Type create(String key)
-
-