public static class SensitiveColumn.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SensitiveColumn.Builder |
appDefinedChildColumnKeys(List<String> appDefinedChildColumnKeys)
Unique keys identifying the columns that are application-level (non-dictionary) children
of the sensitive column.
|
SensitiveColumn.Builder |
appName(String appName)
The name of the application associated with the sensitive column.
|
SensitiveColumn |
build() |
SensitiveColumn.Builder |
columnGroups(List<String> columnGroups)
The composite key groups to which the sensitive column belongs.
|
SensitiveColumn.Builder |
columnName(String columnName)
The name of the sensitive column.
|
SensitiveColumn.Builder |
copy(SensitiveColumn model) |
SensitiveColumn.Builder |
dataType(String dataType)
The data type of the sensitive column.
|
SensitiveColumn.Builder |
dbDefinedChildColumnKeys(List<String> dbDefinedChildColumnKeys)
Unique keys identifying the columns that are database-level (dictionary-defined) children
of the sensitive column.
|
SensitiveColumn.Builder |
estimatedDataValueCount(Long estimatedDataValueCount)
The estimated number of data values the column has in the associated database.
|
SensitiveColumn.Builder |
key(String key)
The unique key that identifies the sensitive column.
|
SensitiveColumn.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the sensitive column.
|
SensitiveColumn.Builder |
lifecycleState(SensitiveColumnLifecycleState lifecycleState)
The current state of the sensitive column.
|
SensitiveColumn.Builder |
objectName(String objectName)
The database object that contains the sensitive column.
|
SensitiveColumn.Builder |
objectType(SensitiveColumn.ObjectType objectType)
The type of the database object that contains the sensitive column.
|
SensitiveColumn.Builder |
parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column.
|
SensitiveColumn.Builder |
relationType(SensitiveColumn.RelationType relationType)
The type of referential relationship the sensitive column has with its parent.
|
SensitiveColumn.Builder |
sampleDataValues(List<String> sampleDataValues)
Original data values collected for the sensitive column from the associated database.
|
SensitiveColumn.Builder |
schemaName(String schemaName)
The database schema that contains the sensitive column.
|
SensitiveColumn.Builder |
sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
|
SensitiveColumn.Builder |
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the sensitive column.
|
SensitiveColumn.Builder |
source(SensitiveColumn.Source source)
The source of the sensitive column.
|
SensitiveColumn.Builder |
status(SensitiveColumn.Status status)
The status of the sensitive column.
|
SensitiveColumn.Builder |
timeCreated(Date timeCreated)
The date and time, in the format defined by
RFC3339, the sensitive column was created in the
sensitive data model.
|
SensitiveColumn.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 SensitiveColumn.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 SensitiveColumn.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
sensitiveDataModelId
- the value to setpublic SensitiveColumn.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 SensitiveColumn.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 SensitiveColumn.Builder lifecycleState(SensitiveColumnLifecycleState lifecycleState)
The current state of the sensitive column.
lifecycleState
- the value to setpublic SensitiveColumn.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the sensitive column.
lifecycleDetails
- the value to setpublic SensitiveColumn.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 SensitiveColumn.Builder schemaName(String schemaName)
The database schema that contains the sensitive column.
schemaName
- the value to setpublic SensitiveColumn.Builder objectName(String objectName)
The database object that contains the sensitive column.
objectName
- the value to setpublic SensitiveColumn.Builder columnName(String columnName)
The name of the sensitive column.
columnName
- the value to setpublic SensitiveColumn.Builder objectType(SensitiveColumn.ObjectType objectType)
The type of the database object that contains the sensitive column.
objectType
- the value to setpublic SensitiveColumn.Builder dataType(String dataType)
The data type of the sensitive column.
dataType
- the value to setpublic SensitiveColumn.Builder status(SensitiveColumn.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 SensitiveColumn.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the sensitive column.
sensitiveTypeId
- the value to setpublic SensitiveColumn.Builder source(SensitiveColumn.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 SensitiveColumn.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 SensitiveColumn.Builder relationType(SensitiveColumn.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 SensitiveColumn.Builder estimatedDataValueCount(Long estimatedDataValueCount)
The estimated number of data values the column has in the associated database.
estimatedDataValueCount
- the value to setpublic SensitiveColumn.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 SensitiveColumn.Builder appDefinedChildColumnKeys(List<String> appDefinedChildColumnKeys)
Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
appDefinedChildColumnKeys
- the value to setpublic SensitiveColumn.Builder dbDefinedChildColumnKeys(List<String> dbDefinedChildColumnKeys)
Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
dbDefinedChildColumnKeys
- the value to setpublic SensitiveColumn.Builder columnGroups(List<String> columnGroups)
The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it’s assigned a column group. It helps identify and manage referential relationships that involve composite keys.
columnGroups
- the value to setpublic SensitiveColumn build()
public SensitiveColumn.Builder copy(SensitiveColumn model)
Copyright © 2016–2024. All rights reserved.