@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class MaskingColumn extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A masking column is a resource corresponding to a database column that you want to mask. It’s a
subresource of masking policy resource and is always associated with a masking policy. Note that
only parent columns are managed as masking columns. The child columns are automatically managed
using the childColumns attribute.
Note: Objects should always be created or deserialized using the MaskingColumn.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 MaskingColumn.Builder
, which maintain a
set of all explicitly set fields called MaskingColumn.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 |
MaskingColumn.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MaskingColumn(String key,
String maskingPolicyId,
MaskingColumnLifecycleState lifecycleState,
String lifecycleDetails,
Date timeCreated,
Date timeUpdated,
String schemaName,
String objectName,
ObjectType objectType,
String columnName,
List<String> childColumns,
String maskingColumnGroup,
String sensitiveTypeId,
Boolean isMaskingEnabled,
String dataType,
List<MaskingFormat> maskingFormats)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaskingColumn.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getChildColumns()
An array of child columns that are in referential relationship with the masking column.
|
String |
getColumnName()
The name of the database column.
|
String |
getDataType()
The data type of the masking column.
|
Boolean |
getIsMaskingEnabled()
Indicates whether data masking is enabled for the masking column.
|
String |
getKey()
The unique key that identifies the masking column.
|
String |
getLifecycleDetails()
Details about the current state of the masking column.
|
MaskingColumnLifecycleState |
getLifecycleState()
The current state of the masking column.
|
String |
getMaskingColumnGroup()
The group of the masking column.
|
List<MaskingFormat> |
getMaskingFormats()
An array of masking formats assigned to the masking column.
|
String |
getMaskingPolicyId()
The OCID of the masking policy that contains the masking column.
|
String |
getObjectName()
The name of the object (table or editioning view) that contains the database column.
|
ObjectType |
getObjectType()
The type of the object that contains the database column.
|
String |
getSchemaName()
The name of the schema that contains the database column.
|
String |
getSensitiveTypeId()
The OCID of the sensitive type associated with the masking column.
|
Date |
getTimeCreated()
The date and time the masking column was created, in the format defined by
RFC3339.
|
Date |
getTimeUpdated()
The date and time the masking column was last updated, in the format defined by
RFC3339.
|
int |
hashCode() |
MaskingColumn.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","maskingPolicyId","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","schemaName","objectName","objectType","columnName","childColumns","maskingColumnGroup","sensitiveTypeId","isMaskingEnabled","dataType","maskingFormats"}) public MaskingColumn(String key, String maskingPolicyId, MaskingColumnLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String schemaName, String objectName, ObjectType objectType, String columnName, List<String> childColumns, String maskingColumnGroup, String sensitiveTypeId, Boolean isMaskingEnabled, String dataType, List<MaskingFormat> maskingFormats)
public static MaskingColumn.Builder builder()
Create a new builder.
public MaskingColumn.Builder toBuilder()
public String getKey()
The unique key that identifies the masking column. It’s numeric and unique within a masking policy.
public String getMaskingPolicyId()
The OCID of the masking policy that contains the masking column.
public MaskingColumnLifecycleState getLifecycleState()
The current state of the masking column.
public String getLifecycleDetails()
Details about the current state of the masking column.
public Date getTimeCreated()
The date and time the masking column was created, in the format defined by RFC3339.
public Date getTimeUpdated()
The date and time the masking column was last updated, in the format defined by RFC3339.
public String getSchemaName()
The name of the schema that contains the database column.
public String getObjectName()
The name of the object (table or editioning view) that contains the database column.
public ObjectType getObjectType()
The type of the object that contains the database column.
public String getColumnName()
The name of the database column. Note that the same name is used for the masking column. There is no separate displayName attribute for the masking column.
public List<String> getChildColumns()
An array of child columns that are in referential relationship with the masking column.
public String getMaskingColumnGroup()
The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
public String getSensitiveTypeId()
The OCID of the sensitive type associated with the masking column.
public Boolean getIsMaskingEnabled()
Indicates whether data masking is enabled for the masking column.
public String getDataType()
The data type of the masking column.
public List<MaskingFormat> getMaskingFormats()
An array of masking formats assigned to the masking column.
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.