Class DifferenceColumn
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.DifferenceColumn
-
@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 theDifferenceColumn.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 theDifferenceColumn.Builder
, which maintain a set of all explicitly set fields calledDifferenceColumn.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
DifferenceColumn
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static DifferenceColumn.Builder builder()
Create a new builder.
-
toBuilder
public DifferenceColumn.Builder toBuilder()
-
getKey
public String getKey()
The unique key that identifies the SDM masking policy difference column.- Returns:
- the value
-
getDifferenceType
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.
- Returns:
- the value
-
getSensitiveColumnkey
public String getSensitiveColumnkey()
The unique key that identifies the sensitive column represented by the SDM masking policy difference column.- Returns:
- the value
-
getMaskingColumnkey
public String getMaskingColumnkey()
The unique key that identifies the masking column represented by the SDM masking policy difference column.- Returns:
- the value
-
getSchemaName
public String getSchemaName()
The database schema that contains the difference column.- Returns:
- the value
-
getObjectName
public String getObjectName()
The database object that contains the difference column.- Returns:
- the value
-
getColumnName
public String getColumnName()
The name of the difference column.- Returns:
- the value
-
getSensitiveTypeId
public String getSensitiveTypeId()
The OCID of the sensitive type associated with the difference column.- Returns:
- the value
-
getPlannedAction
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.
- Returns:
- the value
-
getSyncStatus
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.
- Returns:
- the value
-
getTimeLastSynced
public Date getTimeLastSynced()
The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-