Class SensitiveColumnSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.SensitiveColumnSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SensitiveColumnSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of a sensitive column present in a sensitive data model.
 Note: Objects should always be created or deserialized using theSensitiveColumnSummary.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 theSensitiveColumnSummary.Builder, which maintain a set of all explicitly set fields calledSensitiveColumnSummary.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 classSensitiveColumnSummary.Builderstatic classSensitiveColumnSummary.ObjectTypeThe type of the database object that contains the sensitive column.static classSensitiveColumnSummary.RelationTypeThe type of referential relationship the sensitive column has with its parent.static classSensitiveColumnSummary.SourceThe source of the sensitive column.static classSensitiveColumnSummary.StatusThe status of the sensitive column.
 - 
Constructor SummaryConstructors Constructor Description SensitiveColumnSummary(String key, String sensitiveDataModelId, SensitiveColumnLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String appName, String schemaName, String objectName, String columnName, SensitiveColumnSummary.ObjectType objectType, String dataType, SensitiveColumnSummary.Status status, String sensitiveTypeId, SensitiveColumnSummary.Source source, List<String> parentColumnKeys, SensitiveColumnSummary.RelationType relationType, Long estimatedDataValueCount, ConfidenceLevelEnum confidenceLevel, List<String> sampleDataValues)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SensitiveColumnSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAppName()The name of the application associated with the sensitive column.StringgetColumnName()The name of the sensitive column.ConfidenceLevelEnumgetConfidenceLevel()The confidence level of the sensitive column associated with the sensitive type.StringgetDataType()The data type of the sensitive column.LonggetEstimatedDataValueCount()The estimated number of data values the column has in the associated database.StringgetKey()The unique key that identifies the sensitive column.StringgetLifecycleDetails()Details about the current state of the sensitive column.SensitiveColumnLifecycleStategetLifecycleState()The current state of the sensitive column.StringgetObjectName()The database object that contains the sensitive column.SensitiveColumnSummary.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.SensitiveColumnSummary.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.StringgetSensitiveDataModelId()The OCID of the sensitive data model that contains the sensitive column.StringgetSensitiveTypeId()The OCID of the sensitive type associated with the sensitive column.SensitiveColumnSummary.SourcegetSource()The source of the sensitive column.SensitiveColumnSummary.StatusgetStatus()The status of the sensitive column.DategetTimeCreated()The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.DategetTimeUpdated()The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.inthashCode()SensitiveColumnSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SensitiveColumnSummary@Deprecated @ConstructorProperties({"key","sensitiveDataModelId","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","appName","schemaName","objectName","columnName","objectType","dataType","status","sensitiveTypeId","source","parentColumnKeys","relationType","estimatedDataValueCount","confidenceLevel","sampleDataValues"}) public SensitiveColumnSummary(String key, String sensitiveDataModelId, SensitiveColumnLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String appName, String schemaName, String objectName, String columnName, SensitiveColumnSummary.ObjectType objectType, String dataType, SensitiveColumnSummary.Status status, String sensitiveTypeId, SensitiveColumnSummary.Source source, List<String> parentColumnKeys, SensitiveColumnSummary.RelationType relationType, Long estimatedDataValueCount, ConfidenceLevelEnum confidenceLevel, List<String> sampleDataValues) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SensitiveColumnSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic SensitiveColumnSummary.Builder toBuilder() 
 - 
getKeypublic String getKey() The unique key that identifies the sensitive column.It’s numeric and unique within a sensitive data model. - Returns:
- the value
 
 - 
getSensitiveDataModelIdpublic String getSensitiveDataModelId() The OCID of the sensitive data model that contains the sensitive column.- Returns:
- the value
 
 - 
getLifecycleStatepublic SensitiveColumnLifecycleState getLifecycleState() The current state of the sensitive column.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Details about the current state of the sensitive column.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.- Returns:
- the value
 
 - 
getAppNamepublic String getAppName() The name of the application associated with the sensitive column.It’s useful when the application name is different from the schema name. Otherwise, it can be ignored. - 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 SensitiveColumnSummary.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
 
 - 
getStatuspublic SensitiveColumnSummary.Status getStatus() The status of the sensitive column.VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again. - Returns:
- the value
 
 - 
getSensitiveTypeIdpublic String getSensitiveTypeId() The OCID of the sensitive type associated with the sensitive column.- Returns:
- the value
 
 - 
getSourcepublic SensitiveColumnSummary.Source getSource() The source of the sensitive column.DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually. - 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 SensitiveColumnSummary.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
 
 - 
getConfidenceLevelpublic ConfidenceLevelEnum getConfidenceLevel() The confidence level of the sensitive column associated with the sensitive type.The confidence level of the discovered sensitive columns can be either HIGH, MEDIUM or LOW. The confidence level will be NONE for manually added sensitive columns. - 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
 
 - 
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
 
 
- 
 
-