public static class SensitiveColumnSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SensitiveColumnSummary.Builder |
appName(String appName)
The name of the application associated with the sensitive column.
|
SensitiveColumnSummary |
build() |
SensitiveColumnSummary.Builder |
columnName(String columnName)
The name of the sensitive column.
|
SensitiveColumnSummary.Builder |
copy(SensitiveColumnSummary model) |
SensitiveColumnSummary.Builder |
dataType(String dataType)
The data type of the sensitive column.
|
SensitiveColumnSummary.Builder |
estimatedDataValueCount(Long estimatedDataValueCount)
The estimated number of data values the column has in the associated database.
|
SensitiveColumnSummary.Builder |
key(String key)
The unique key that identifies the sensitive column.
|
SensitiveColumnSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the sensitive column.
|
SensitiveColumnSummary.Builder |
lifecycleState(SensitiveColumnLifecycleState lifecycleState)
The current state of the sensitive column.
|
SensitiveColumnSummary.Builder |
objectName(String objectName)
The database object that contains the sensitive column.
|
SensitiveColumnSummary.Builder |
objectType(SensitiveColumnSummary.ObjectType objectType)
The type of the database object that contains the sensitive column.
|
SensitiveColumnSummary.Builder |
parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column.
|
SensitiveColumnSummary.Builder |
relationType(SensitiveColumnSummary.RelationType relationType)
The type of referential relationship the sensitive column has with its parent.
|
SensitiveColumnSummary.Builder |
sampleDataValues(List<String> sampleDataValues)
Original data values collected for the sensitive column from the associated database.
|
SensitiveColumnSummary.Builder |
schemaName(String schemaName)
The database schema that contains the sensitive column.
|
SensitiveColumnSummary.Builder |
sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
|
SensitiveColumnSummary.Builder |
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the sensitive column.
|
SensitiveColumnSummary.Builder |
source(SensitiveColumnSummary.Source source)
The source of the sensitive column.
|
SensitiveColumnSummary.Builder |
status(SensitiveColumnSummary.Status status)
The status of the sensitive column.
|
SensitiveColumnSummary.Builder |
timeCreated(Date timeCreated)
The date and time, in the format defined by
RFC3339, the sensitive column was created in the
sensitive data model.
|
SensitiveColumnSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time, in the format defined by
RFC3339, the sensitive column was last updated in
the sensitive data model.
|
public SensitiveColumnSummary.Builder key(String key)
The unique key that identifies the sensitive column. It’s numeric and unique within a sensitive data model.
key
- the value to setpublic SensitiveColumnSummary.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
sensitiveDataModelId
- the value to setpublic SensitiveColumnSummary.Builder lifecycleState(SensitiveColumnLifecycleState lifecycleState)
The current state of the sensitive column.
lifecycleState
- the value to setpublic SensitiveColumnSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the sensitive column.
lifecycleDetails
- the value to setpublic SensitiveColumnSummary.Builder timeCreated(Date timeCreated)
The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
timeCreated
- the value to setpublic SensitiveColumnSummary.Builder timeUpdated(Date timeUpdated)
The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
timeUpdated
- the value to setpublic SensitiveColumnSummary.Builder appName(String appName)
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.
appName
- the value to setpublic SensitiveColumnSummary.Builder schemaName(String schemaName)
The database schema that contains the sensitive column.
schemaName
- the value to setpublic SensitiveColumnSummary.Builder objectName(String objectName)
The database object that contains the sensitive column.
objectName
- the value to setpublic SensitiveColumnSummary.Builder columnName(String columnName)
The name of the sensitive column.
columnName
- the value to setpublic SensitiveColumnSummary.Builder objectType(SensitiveColumnSummary.ObjectType objectType)
The type of the database object that contains the sensitive column.
objectType
- the value to setpublic SensitiveColumnSummary.Builder dataType(String dataType)
The data type of the sensitive column.
dataType
- the value to setpublic SensitiveColumnSummary.Builder status(SensitiveColumnSummary.Status status)
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.
status
- the value to setpublic SensitiveColumnSummary.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the sensitive column.
sensitiveTypeId
- the value to setpublic SensitiveColumnSummary.Builder source(SensitiveColumnSummary.Source source)
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.
source
- the value to setpublic SensitiveColumnSummary.Builder parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
parentColumnKeys
- the value to setpublic SensitiveColumnSummary.Builder relationType(SensitiveColumnSummary.RelationType relationType)
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.
relationType
- the value to setpublic SensitiveColumnSummary.Builder estimatedDataValueCount(Long estimatedDataValueCount)
The estimated number of data values the column has in the associated database.
estimatedDataValueCount
- the value to setpublic SensitiveColumnSummary.Builder sampleDataValues(List<String> sampleDataValues)
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.
sampleDataValues
- the value to setpublic SensitiveColumnSummary build()
public SensitiveColumnSummary.Builder copy(SensitiveColumnSummary model)
Copyright © 2016–2024. All rights reserved.