public static class CreateSensitiveColumnDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateSensitiveColumnDetails.Builder |
appDefinedChildColumnKeys(List<String> appDefinedChildColumnKeys)
Unique keys identifying the columns that are application-level (non-dictionary) children
of the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
appName(String appName)
The name of the application associated with the sensitive column.
|
CreateSensitiveColumnDetails |
build() |
CreateSensitiveColumnDetails.Builder |
columnName(String columnName)
The name of the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
copy(CreateSensitiveColumnDetails model) |
CreateSensitiveColumnDetails.Builder |
dataType(String dataType)
The data type of the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
dbDefinedChildColumnKeys(List<String> dbDefinedChildColumnKeys)
Unique keys identifying the columns that are database-level (dictionary-defined) children
of the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
objectName(String objectName)
The database object that contains the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
objectType(CreateSensitiveColumnDetails.ObjectType objectType)
The type of the database object that contains the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
relationType(CreateSensitiveColumnDetails.RelationType relationType)
The type of referential relationship the sensitive column has with its parent.
|
CreateSensitiveColumnDetails.Builder |
schemaName(String schemaName)
The database schema that contains the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type to be associated with the sensitive column.
|
CreateSensitiveColumnDetails.Builder |
status(CreateSensitiveColumnDetails.Status status)
The status of the sensitive column.
|
public CreateSensitiveColumnDetails.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. If this attribute is not provided, it’s automatically populated with the value provided for the schemaName attribute.
appName
- the value to setpublic CreateSensitiveColumnDetails.Builder schemaName(String schemaName)
The database schema that contains the sensitive column.
schemaName
- the value to setpublic CreateSensitiveColumnDetails.Builder objectName(String objectName)
The database object that contains the sensitive column.
objectName
- the value to setpublic CreateSensitiveColumnDetails.Builder columnName(String columnName)
The name of the sensitive column.
columnName
- the value to setpublic CreateSensitiveColumnDetails.Builder objectType(CreateSensitiveColumnDetails.ObjectType objectType)
The type of the database object that contains the sensitive column.
objectType
- the value to setpublic CreateSensitiveColumnDetails.Builder dataType(String dataType)
The data type of the sensitive column.
dataType
- the value to setpublic CreateSensitiveColumnDetails.Builder status(CreateSensitiveColumnDetails.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.
status
- the value to setpublic CreateSensitiveColumnDetails.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type to be associated with the sensitive column.
sensitiveTypeId
- the value to setpublic CreateSensitiveColumnDetails.Builder parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column. At present, it accepts only one parent column key. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the parent column must be added to the sensitive data model before its key can be specified here. If this attribute is provided, the appDefinedChildColumnKeys or dbDefinedChildColumnKeys attribute of the parent column is automatically updated to reflect the relationship.
parentColumnKeys
- the value to setpublic CreateSensitiveColumnDetails.Builder relationType(CreateSensitiveColumnDetails.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 CreateSensitiveColumnDetails.Builder appDefinedChildColumnKeys(List<String> appDefinedChildColumnKeys)
Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
appDefinedChildColumnKeys
- the value to setpublic CreateSensitiveColumnDetails.Builder dbDefinedChildColumnKeys(List<String> dbDefinedChildColumnKeys)
Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
dbDefinedChildColumnKeys
- the value to setpublic CreateSensitiveColumnDetails build()
public CreateSensitiveColumnDetails.Builder copy(CreateSensitiveColumnDetails model)
Copyright © 2016–2024. All rights reserved.