public static class DifferenceColumn.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DifferenceColumn |
build() |
DifferenceColumn.Builder |
columnName(String columnName)
The name of the difference column.
|
DifferenceColumn.Builder |
copy(DifferenceColumn model) |
DifferenceColumn.Builder |
differenceType(DifferenceColumn.DifferenceType differenceType)
The type of the SDM masking policy difference column.
|
DifferenceColumn.Builder |
key(String key)
The unique key that identifies the SDM masking policy difference column.
|
DifferenceColumn.Builder |
maskingColumnkey(String maskingColumnkey)
The unique key that identifies the masking column represented by the SDM masking policy
difference column.
|
DifferenceColumn.Builder |
objectName(String objectName)
The database object that contains the difference column.
|
DifferenceColumn.Builder |
plannedAction(DifferenceColumn.PlannedAction plannedAction)
Specifies how to process the difference column.
|
DifferenceColumn.Builder |
schemaName(String schemaName)
The database schema that contains the difference column.
|
DifferenceColumn.Builder |
sensitiveColumnkey(String sensitiveColumnkey)
The unique key that identifies the sensitive column represented by the SDM masking policy
difference column.
|
DifferenceColumn.Builder |
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the difference column.
|
DifferenceColumn.Builder |
syncStatus(DifferenceColumn.SyncStatus syncStatus)
Indicates if the difference column has been processed.
|
DifferenceColumn.Builder |
timeLastSynced(Date timeLastSynced)
The date and time the SDM masking policy difference column was last synced, in the format
defined by RFC3339.
|
public DifferenceColumn.Builder key(String key)
The unique key that identifies the SDM masking policy difference column.
key
- the value to setpublic DifferenceColumn.Builder differenceType(DifferenceColumn.DifferenceType differenceType)
The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
differenceType
- the value to setpublic DifferenceColumn.Builder sensitiveColumnkey(String sensitiveColumnkey)
The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
sensitiveColumnkey
- the value to setpublic DifferenceColumn.Builder maskingColumnkey(String maskingColumnkey)
The unique key that identifies the masking column represented by the SDM masking policy difference column.
maskingColumnkey
- the value to setpublic DifferenceColumn.Builder schemaName(String schemaName)
The database schema that contains the difference column.
schemaName
- the value to setpublic DifferenceColumn.Builder objectName(String objectName)
The database object that contains the difference column.
objectName
- the value to setpublic DifferenceColumn.Builder columnName(String columnName)
The name of the difference column.
columnName
- the value to setpublic DifferenceColumn.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the difference column.
sensitiveTypeId
- the value to setpublic DifferenceColumn.Builder plannedAction(DifferenceColumn.PlannedAction plannedAction)
Specifies how to process the difference column. It’s set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn’t change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
plannedAction
- the value to setpublic DifferenceColumn.Builder syncStatus(DifferenceColumn.SyncStatus syncStatus)
Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
syncStatus
- the value to setpublic DifferenceColumn.Builder timeLastSynced(Date timeLastSynced)
The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
timeLastSynced
- the value to setpublic DifferenceColumn build()
public DifferenceColumn.Builder copy(DifferenceColumn model)
Copyright © 2016–2024. All rights reserved.