public static class DifferenceColumnSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DifferenceColumnSummary |
build() |
DifferenceColumnSummary.Builder |
columnName(String columnName)
The name of the difference column.
|
DifferenceColumnSummary.Builder |
copy(DifferenceColumnSummary model) |
DifferenceColumnSummary.Builder |
differenceType(DifferenceColumn.DifferenceType differenceType)
The type of the SDM masking policy difference column.
|
DifferenceColumnSummary.Builder |
key(String key)
The unique key that identifies the SDM masking policy difference column.
|
DifferenceColumnSummary.Builder |
maskingColumnkey(String maskingColumnkey)
The unique key that identifies the masking column represented by the SDM masking policy
difference column.
|
DifferenceColumnSummary.Builder |
objectName(String objectName)
The database object that contains the difference column.
|
DifferenceColumnSummary.Builder |
plannedAction(DifferenceColumn.PlannedAction plannedAction)
Specifies how to process the difference column.
|
DifferenceColumnSummary.Builder |
schemaName(String schemaName)
The database schema that contains the difference column.
|
DifferenceColumnSummary.Builder |
sensitiveColumnkey(String sensitiveColumnkey)
The unique key that identifies the sensitive column represented by the SDM masking policy
difference column.
|
DifferenceColumnSummary.Builder |
sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the difference column.
|
DifferenceColumnSummary.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.
|
DifferenceColumnSummary.Builder |
timeLastSynced(Date timeLastSynced)
The date and time the SDM masking policy difference column was last synced, in the format
defined by RFC3339.
|
public DifferenceColumnSummary.Builder key(String key)
The unique key that identifies the SDM masking policy difference column.
key
- the value to setpublic DifferenceColumnSummary.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 DifferenceColumnSummary.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 DifferenceColumnSummary.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 DifferenceColumnSummary.Builder schemaName(String schemaName)
The database schema that contains the difference column.
schemaName
- the value to setpublic DifferenceColumnSummary.Builder objectName(String objectName)
The database object that contains the difference column.
objectName
- the value to setpublic DifferenceColumnSummary.Builder columnName(String columnName)
The name of the difference column.
columnName
- the value to setpublic DifferenceColumnSummary.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the difference column.
sensitiveTypeId
- the value to setpublic DifferenceColumnSummary.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 DifferenceColumnSummary.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 DifferenceColumnSummary.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 DifferenceColumnSummary build()
public DifferenceColumnSummary.Builder copy(DifferenceColumnSummary model)
Copyright © 2016–2024. All rights reserved.