@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class DifferenceColumn extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A SDM masking policy difference column. It can be one of the following three types: NEW: A new
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.
Note: Objects should always be created or deserialized using the DifferenceColumn.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the DifferenceColumn.Builder
, which maintain a
set of all explicitly set fields called DifferenceColumn.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DifferenceColumn.Builder |
static class |
DifferenceColumn.DifferenceType
The type of the SDM masking policy difference column.
|
static class |
DifferenceColumn.PlannedAction
Specifies how to process the difference column.
|
static class |
DifferenceColumn.SyncStatus
Indicates if the difference column has been processed.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DifferenceColumn(String key,
DifferenceColumn.DifferenceType differenceType,
String sensitiveColumnkey,
String maskingColumnkey,
String schemaName,
String objectName,
String columnName,
String sensitiveTypeId,
DifferenceColumn.PlannedAction plannedAction,
DifferenceColumn.SyncStatus syncStatus,
Date timeLastSynced)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DifferenceColumn.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getColumnName()
The name of the difference column.
|
DifferenceColumn.DifferenceType |
getDifferenceType()
The type of the SDM masking policy difference column.
|
String |
getKey()
The unique key that identifies the SDM masking policy difference column.
|
String |
getMaskingColumnkey()
The unique key that identifies the masking column represented by the SDM masking policy
difference column.
|
String |
getObjectName()
The database object that contains the difference column.
|
DifferenceColumn.PlannedAction |
getPlannedAction()
Specifies how to process the difference column.
|
String |
getSchemaName()
The database schema that contains the difference column.
|
String |
getSensitiveColumnkey()
The unique key that identifies the sensitive column represented by the SDM masking policy
difference column.
|
String |
getSensitiveTypeId()
The OCID of the sensitive type associated with the difference column.
|
DifferenceColumn.SyncStatus |
getSyncStatus()
Indicates if the difference column has been processed.
|
Date |
getTimeLastSynced()
The date and time the SDM masking policy difference column was last synced, in the format
defined by RFC3339.
|
int |
hashCode() |
DifferenceColumn.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","differenceType","sensitiveColumnkey","maskingColumnkey","schemaName","objectName","columnName","sensitiveTypeId","plannedAction","syncStatus","timeLastSynced"}) public DifferenceColumn(String key, DifferenceColumn.DifferenceType differenceType, String sensitiveColumnkey, String maskingColumnkey, String schemaName, String objectName, String columnName, String sensitiveTypeId, DifferenceColumn.PlannedAction plannedAction, DifferenceColumn.SyncStatus syncStatus, Date timeLastSynced)
public static DifferenceColumn.Builder builder()
Create a new builder.
public DifferenceColumn.Builder toBuilder()
public String getKey()
The unique key that identifies the SDM masking policy difference column.
public DifferenceColumn.DifferenceType getDifferenceType()
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.
public String getSensitiveColumnkey()
The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
public String getMaskingColumnkey()
The unique key that identifies the masking column represented by the SDM masking policy difference column.
public String getSchemaName()
The database schema that contains the difference column.
public String getObjectName()
The database object that contains the difference column.
public String getColumnName()
The name of the difference column.
public String getSensitiveTypeId()
The OCID of the sensitive type associated with the difference column.
public DifferenceColumn.PlannedAction getPlannedAction()
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.
public DifferenceColumn.SyncStatus getSyncStatus()
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.
public Date getTimeLastSynced()
The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.