Class UpdateSensitiveColumnDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.UpdateSensitiveColumnDetails.Builder
-
- Enclosing class:
- UpdateSensitiveColumnDetails
public static class UpdateSensitiveColumnDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSensitiveColumnDetails.Builder
appDefinedChildColumnKeys(List<String> appDefinedChildColumnKeys)
Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.UpdateSensitiveColumnDetails
build()
UpdateSensitiveColumnDetails.Builder
copy(UpdateSensitiveColumnDetails model)
UpdateSensitiveColumnDetails.Builder
dataType(String dataType)
The data type of the sensitive column.UpdateSensitiveColumnDetails.Builder
dbDefinedChildColumnKeys(List<String> dbDefinedChildColumnKeys)
Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.UpdateSensitiveColumnDetails.Builder
parentColumnKeys(List<String> parentColumnKeys)
Unique keys identifying the columns that are parents of the sensitive column.UpdateSensitiveColumnDetails.Builder
relationType(UpdateSensitiveColumnDetails.RelationType relationType)
The type of referential relationship the sensitive column has with its parent.UpdateSensitiveColumnDetails.Builder
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type to be associated with the sensitive column.UpdateSensitiveColumnDetails.Builder
status(UpdateSensitiveColumnDetails.Status status)
The status of the sensitive column.
-
-
-
Method Detail
-
dataType
public UpdateSensitiveColumnDetails.Builder dataType(String dataType)
The data type of the sensitive column.- Parameters:
dataType
- the value to set- Returns:
- this builder
-
status
public UpdateSensitiveColumnDetails.Builder status(UpdateSensitiveColumnDetails.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.
- Parameters:
status
- the value to set- Returns:
- this builder
-
sensitiveTypeId
public UpdateSensitiveColumnDetails.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type to be associated with the sensitive column.- Parameters:
sensitiveTypeId
- the value to set- Returns:
- this builder
-
parentColumnKeys
public UpdateSensitiveColumnDetails.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.
- Parameters:
parentColumnKeys
- the value to set- Returns:
- this builder
-
relationType
public UpdateSensitiveColumnDetails.Builder relationType(UpdateSensitiveColumnDetails.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.
- Parameters:
relationType
- the value to set- Returns:
- this builder
-
appDefinedChildColumnKeys
public UpdateSensitiveColumnDetails.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.
- Parameters:
appDefinedChildColumnKeys
- the value to set- Returns:
- this builder
-
dbDefinedChildColumnKeys
public UpdateSensitiveColumnDetails.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.
- Parameters:
dbDefinedChildColumnKeys
- the value to set- Returns:
- this builder
-
build
public UpdateSensitiveColumnDetails build()
-
copy
public UpdateSensitiveColumnDetails.Builder copy(UpdateSensitiveColumnDetails model)
-
-