Class DiscoveryJobResultSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.DiscoveryJobResultSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class DiscoveryJobResultSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of a discovery job result.
 Note: Objects should always be created or deserialized using theDiscoveryJobResultSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDiscoveryJobResultSummary.Builder, which maintain a set of all explicitly set fields calledDiscoveryJobResultSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDiscoveryJobResultSummary.Builderstatic classDiscoveryJobResultSummary.ObjectTypeThe type of the database object that contains the sensitive column.static classDiscoveryJobResultSummary.RelationTypeThe type of referential relationship the sensitive column has with its parent.
 - 
Constructor SummaryConstructors Constructor Description DiscoveryJobResultSummary(String key, DiscoveryJobResult.DiscoveryType discoveryType, String sensitiveColumnkey, String schemaName, String objectName, String columnName, DiscoveryJobResultSummary.ObjectType objectType, String dataType, String sensitiveTypeId, List<String> parentColumnKeys, DiscoveryJobResultSummary.RelationType relationType, Long estimatedDataValueCount, List<String> sampleDataValues, DiscoveryJobResult.PlannedAction plannedAction, Boolean isResultApplied, String discoveryJobId, ConfidenceLevelEnum confidenceLevel)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiscoveryJobResultSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetColumnName()The name of the sensitive column.ConfidenceLevelEnumgetConfidenceLevel()The confidence level of the discovery job result associated with the sensitive type.StringgetDataType()The data type of the sensitive column.StringgetDiscoveryJobId()The OCID of the discovery job.DiscoveryJobResult.DiscoveryTypegetDiscoveryType()The type of the discovery result.LonggetEstimatedDataValueCount()The estimated number of data values the column has in the associated database.BooleangetIsResultApplied()Indicates whether the discovery result has been processed.StringgetKey()The unique key that identifies the discovery result.StringgetObjectName()The database object that contains the sensitive column.DiscoveryJobResultSummary.ObjectTypegetObjectType()The type of the database object that contains the sensitive column.List<String>getParentColumnKeys()Unique keys identifying the columns that are parents of the sensitive column.DiscoveryJobResult.PlannedActiongetPlannedAction()Specifies how to process the discovery result.DiscoveryJobResultSummary.RelationTypegetRelationType()The type of referential relationship the sensitive column has with its parent.List<String>getSampleDataValues()Original data values collected for the sensitive column from the associated database.StringgetSchemaName()The database schema that contains the sensitive column.StringgetSensitiveColumnkey()The unique key that identifies the sensitive column represented by the discovery result.StringgetSensitiveTypeId()The OCID of the sensitive type associated with the sensitive column.inthashCode()DiscoveryJobResultSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DiscoveryJobResultSummary@Deprecated @ConstructorProperties({"key","discoveryType","sensitiveColumnkey","schemaName","objectName","columnName","objectType","dataType","sensitiveTypeId","parentColumnKeys","relationType","estimatedDataValueCount","sampleDataValues","plannedAction","isResultApplied","discoveryJobId","confidenceLevel"}) public DiscoveryJobResultSummary(String key, DiscoveryJobResult.DiscoveryType discoveryType, String sensitiveColumnkey, String schemaName, String objectName, String columnName, DiscoveryJobResultSummary.ObjectType objectType, String dataType, String sensitiveTypeId, List<String> parentColumnKeys, DiscoveryJobResultSummary.RelationType relationType, Long estimatedDataValueCount, List<String> sampleDataValues, DiscoveryJobResult.PlannedAction plannedAction, Boolean isResultApplied, String discoveryJobId, ConfidenceLevelEnum confidenceLevel) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DiscoveryJobResultSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DiscoveryJobResultSummary.Builder toBuilder() 
 - 
getKeypublic String getKey() The unique key that identifies the discovery result.- Returns:
- the value
 
 - 
getDiscoveryTypepublic DiscoveryJobResult.DiscoveryType getDiscoveryType() The type of the discovery result.It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified. - Returns:
- the value
 
 - 
getSensitiveColumnkeypublic String getSensitiveColumnkey() The unique key that identifies the sensitive column represented by the discovery result.- Returns:
- the value
 
 - 
getSchemaNamepublic String getSchemaName() The database schema that contains the sensitive column.- Returns:
- the value
 
 - 
getObjectNamepublic String getObjectName() The database object that contains the sensitive column.- Returns:
- the value
 
 - 
getColumnNamepublic String getColumnName() The name of the sensitive column.- Returns:
- the value
 
 - 
getObjectTypepublic DiscoveryJobResultSummary.ObjectType getObjectType() The type of the database object that contains the sensitive column.- Returns:
- the value
 
 - 
getDataTypepublic String getDataType() The data type of the sensitive column.- Returns:
- the value
 
 - 
getSensitiveTypeIdpublic String getSensitiveTypeId() The OCID of the sensitive type associated with the sensitive column.- Returns:
- the value
 
 - 
getParentColumnKeyspublic List<String> getParentColumnKeys() Unique keys identifying the columns that are parents of the sensitive column.At present, it tracks a single parent only. - Returns:
- the value
 
 - 
getRelationTypepublic DiscoveryJobResultSummary.RelationType getRelationType() The type of referential relationship the sensitive column has with its parent.NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. - Returns:
- the value
 
 - 
getEstimatedDataValueCountpublic Long getEstimatedDataValueCount() The estimated number of data values the column has in the associated database.- Returns:
- the value
 
 - 
getSampleDataValuespublic List<String> getSampleDataValues() Original data values collected for the sensitive column from the associated database.Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column. - Returns:
- the value
 
 - 
getPlannedActionpublic DiscoveryJobResult.PlannedAction getPlannedAction() 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. - Returns:
- the value
 
 - 
getIsResultAppliedpublic Boolean getIsResultApplied() Indicates whether the discovery result has been processed.You can update this attribute using the PatchDiscoveryJobResults operation to track whether the discovery result has already been processed and applied to the sensitive data model. - Returns:
- the value
 
 - 
getDiscoveryJobIdpublic String getDiscoveryJobId() The OCID of the discovery job.- Returns:
- the value
 
 - 
getConfidenceLevelpublic ConfidenceLevelEnum getConfidenceLevel() The confidence level of the discovery job result associated with the sensitive type.The confidence level for discovery job results can be either HIGH, MEDIUM or LOW. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-