Package com.oracle.bmc.datasafe.model
Class MaskingColumnSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.MaskingColumnSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class MaskingColumnSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of a masking column.
Note: Objects should always be created or deserialized using theMaskingColumnSummary.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 theMaskingColumnSummary.Builder
, which maintain a set of all explicitly set fields calledMaskingColumnSummary.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
MaskingColumnSummary.Builder
-
Constructor Summary
Constructors Constructor Description MaskingColumnSummary(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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaskingColumnSummary.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 a 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()
MaskingColumnSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MaskingColumnSummary
@Deprecated @ConstructorProperties({"key","maskingPolicyId","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","schemaName","objectName","objectType","columnName","childColumns","maskingColumnGroup","sensitiveTypeId","isMaskingEnabled","dataType","maskingFormats"}) public MaskingColumnSummary(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.
-
-
Method Detail
-
builder
public static MaskingColumnSummary.Builder builder()
Create a new builder.
-
toBuilder
public MaskingColumnSummary.Builder toBuilder()
-
getKey
public String getKey()
The unique key that identifies a masking column.The key is numeric and unique within a masking policy.
- Returns:
- the value
-
getMaskingPolicyId
public String getMaskingPolicyId()
The OCID of the masking policy that contains the masking column.- Returns:
- the value
-
getLifecycleState
public MaskingColumnLifecycleState getLifecycleState()
The current state of the masking column.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Details about the current state of the masking column.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the masking column was created, in the format defined by RFC3339.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the masking column was last updated, in the format defined by RFC3339.- Returns:
- the value
-
getSchemaName
public String getSchemaName()
The name of the schema that contains the database column.- Returns:
- the value
-
getObjectName
public String getObjectName()
The name of the object (table or editioning view) that contains the database column.- Returns:
- the value
-
getObjectType
public ObjectType getObjectType()
The type of the object that contains the database column.- Returns:
- the value
-
getColumnName
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.
- Returns:
- the value
-
getChildColumns
public List<String> getChildColumns()
An array of child columns that are in referential relationship with the masking column.- Returns:
- the value
-
getMaskingColumnGroup
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.
- Returns:
- the value
-
getSensitiveTypeId
public String getSensitiveTypeId()
The OCID of the sensitive type associated with the masking column.- Returns:
- the value
-
getIsMaskingEnabled
public Boolean getIsMaskingEnabled()
Indicates whether data masking is enabled for the masking column.- Returns:
- the value
-
getDataType
public String getDataType()
The data type of the masking column.- Returns:
- the value
-
getMaskingFormats
public List<MaskingFormat> getMaskingFormats()
An array of masking formats assigned to the masking column.- 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
-
-