Class UpdateMaskingColumnDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.UpdateMaskingColumnDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class UpdateMaskingColumnDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details to update a masking column.
Note: Objects should always be created or deserialized using theUpdateMaskingColumnDetails.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 theUpdateMaskingColumnDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateMaskingColumnDetails.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
UpdateMaskingColumnDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateMaskingColumnDetails(ObjectType objectType, String maskingColumnGroup, String sensitiveTypeId, Boolean isMaskingEnabled, List<MaskingFormat> maskingFormats)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMaskingColumnDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getIsMaskingEnabled()
Indicates whether data masking is enabled for the masking column.String
getMaskingColumnGroup()
The group of the masking column.List<MaskingFormat>
getMaskingFormats()
The masking formats to be assigned to the masking column.ObjectType
getObjectType()
The type of the object that contains the database column.String
getSensitiveTypeId()
The OCID of the sensitive type to be associated with the masking column.int
hashCode()
UpdateMaskingColumnDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateMaskingColumnDetails
@Deprecated @ConstructorProperties({"objectType","maskingColumnGroup","sensitiveTypeId","isMaskingEnabled","maskingFormats"}) public UpdateMaskingColumnDetails(ObjectType objectType, String maskingColumnGroup, String sensitiveTypeId, Boolean isMaskingEnabled, List<MaskingFormat> maskingFormats)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateMaskingColumnDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateMaskingColumnDetails.Builder toBuilder()
-
getObjectType
public ObjectType getObjectType()
The type of the object that contains the database column.- Returns:
- the value
-
getMaskingColumnGroup
public String getMaskingColumnGroup()
The group of the masking column.It’s a masking group identifier and can be any string of acceptable length. 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 to be associated with the masking column.Note that there will be no change in assigned masking format when sensitive type is changed.
- Returns:
- the value
-
getIsMaskingEnabled
public Boolean getIsMaskingEnabled()
Indicates whether data masking is enabled for the masking column.Set it to false if you don’t want to mask the column.
- Returns:
- the value
-
getMaskingFormats
public List<MaskingFormat> getMaskingFormats()
The masking formats to be assigned to the masking column.You can specify a condition as part of each masking format. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking.
- 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
-
-