Package com.oracle.bmc.datasafe.model
Enum DiscoveryJobResult.PlannedAction
- java.lang.Object
-
- java.lang.Enum<DiscoveryJobResult.PlannedAction>
-
- com.oracle.bmc.datasafe.model.DiscoveryJobResult.PlannedAction
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DiscoveryJobResult.PlannedAction>
- Enclosing class:
- DiscoveryJobResult
public static enum DiscoveryJobResult.PlannedAction extends Enum<DiscoveryJobResult.PlannedAction> implements BmcEnum
Specifies how to process the discovery result.It’s set to NONE by default. Use the PatchDiscoveryJobResults operation to update this attribute. You can choose one of the following options: ACCEPT: To accept the discovery result and update the sensitive data model to reflect the changes. REJECT: To reject the discovery result so that it doesn’t change the sensitive data model. INVALIDATE: To invalidate a newly discovered column. It adds the column to the sensitive data model but marks it as invalid. It helps track false positives and ensure that they aren’t reported by future discovery jobs. After specifying the planned action, you can use the ApplyDiscoveryJobResults operation to automatically process the discovery results.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Accept
Invalidate
None
Reject
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 DiscoveryJobResult.PlannedAction
create(String key)
String
getValue()
static DiscoveryJobResult.PlannedAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiscoveryJobResult.PlannedAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final DiscoveryJobResult.PlannedAction None
-
Accept
public static final DiscoveryJobResult.PlannedAction Accept
-
Invalidate
public static final DiscoveryJobResult.PlannedAction Invalidate
-
Reject
public static final DiscoveryJobResult.PlannedAction Reject
-
UnknownEnumValue
public static final DiscoveryJobResult.PlannedAction 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 DiscoveryJobResult.PlannedAction[] 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 (DiscoveryJobResult.PlannedAction c : DiscoveryJobResult.PlannedAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiscoveryJobResult.PlannedAction 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 DiscoveryJobResult.PlannedAction create(String key)
-
-