Package com.oracle.bmc.datasafe.model
Class MaskingColumnSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.MaskingColumnSummary.Builder
-
- Enclosing class:
- MaskingColumnSummary
public static class MaskingColumnSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaskingColumnSummarybuild()MaskingColumnSummary.BuilderchildColumns(List<String> childColumns)An array of child columns that are in referential relationship with the masking column.MaskingColumnSummary.BuildercolumnName(String columnName)The name of the database column.MaskingColumnSummary.Buildercopy(MaskingColumnSummary model)MaskingColumnSummary.BuilderdataType(String dataType)The data type of the masking column.MaskingColumnSummary.BuilderisMaskingEnabled(Boolean isMaskingEnabled)Indicates whether data masking is enabled for the masking column.MaskingColumnSummary.Builderkey(String key)The unique key that identifies a masking column.MaskingColumnSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the masking column.MaskingColumnSummary.BuilderlifecycleState(MaskingColumnLifecycleState lifecycleState)The current state of the masking column.MaskingColumnSummary.BuildermaskingColumnGroup(String maskingColumnGroup)The group of the masking column.MaskingColumnSummary.BuildermaskingFormats(List<MaskingFormat> maskingFormats)An array of masking formats assigned to the masking column.MaskingColumnSummary.BuildermaskingPolicyId(String maskingPolicyId)The OCID of the masking policy that contains the masking column.MaskingColumnSummary.BuilderobjectName(String objectName)The name of the object (table or editioning view) that contains the database column.MaskingColumnSummary.BuilderobjectType(ObjectType objectType)The type of the object that contains the database column.MaskingColumnSummary.BuilderschemaName(String schemaName)The name of the schema that contains the database column.MaskingColumnSummary.BuildersensitiveTypeId(String sensitiveTypeId)The OCID of the sensitive type associated with the masking column.MaskingColumnSummary.BuildertimeCreated(Date timeCreated)The date and time the masking column was created, in the format defined by RFC3339.MaskingColumnSummary.BuildertimeUpdated(Date timeUpdated)The date and time the masking column was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
key
public MaskingColumnSummary.Builder key(String key)
The unique key that identifies a masking column.The key is numeric and unique within a masking policy.
- Parameters:
key- the value to set- Returns:
- this builder
-
maskingPolicyId
public MaskingColumnSummary.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy that contains the masking column.- Parameters:
maskingPolicyId- the value to set- Returns:
- this builder
-
lifecycleState
public MaskingColumnSummary.Builder lifecycleState(MaskingColumnLifecycleState lifecycleState)
The current state of the masking column.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public MaskingColumnSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the masking column.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public MaskingColumnSummary.Builder timeCreated(Date timeCreated)
The date and time the masking column was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public MaskingColumnSummary.Builder timeUpdated(Date timeUpdated)
The date and time the masking column was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
schemaName
public MaskingColumnSummary.Builder schemaName(String schemaName)
The name of the schema that contains the database column.- Parameters:
schemaName- the value to set- Returns:
- this builder
-
objectName
public MaskingColumnSummary.Builder objectName(String objectName)
The name of the object (table or editioning view) that contains the database column.- Parameters:
objectName- the value to set- Returns:
- this builder
-
objectType
public MaskingColumnSummary.Builder objectType(ObjectType objectType)
The type of the object that contains the database column.- Parameters:
objectType- the value to set- Returns:
- this builder
-
columnName
public MaskingColumnSummary.Builder columnName(String columnName)
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.
- Parameters:
columnName- the value to set- Returns:
- this builder
-
childColumns
public MaskingColumnSummary.Builder childColumns(List<String> childColumns)
An array of child columns that are in referential relationship with the masking column.- Parameters:
childColumns- the value to set- Returns:
- this builder
-
maskingColumnGroup
public MaskingColumnSummary.Builder maskingColumnGroup(String maskingColumnGroup)
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.
- Parameters:
maskingColumnGroup- the value to set- Returns:
- this builder
-
sensitiveTypeId
public MaskingColumnSummary.Builder sensitiveTypeId(String sensitiveTypeId)
The OCID of the sensitive type associated with the masking column.- Parameters:
sensitiveTypeId- the value to set- Returns:
- this builder
-
isMaskingEnabled
public MaskingColumnSummary.Builder isMaskingEnabled(Boolean isMaskingEnabled)
Indicates whether data masking is enabled for the masking column.- Parameters:
isMaskingEnabled- the value to set- Returns:
- this builder
-
dataType
public MaskingColumnSummary.Builder dataType(String dataType)
The data type of the masking column.- Parameters:
dataType- the value to set- Returns:
- this builder
-
maskingFormats
public MaskingColumnSummary.Builder maskingFormats(List<MaskingFormat> maskingFormats)
An array of masking formats assigned to the masking column.- Parameters:
maskingFormats- the value to set- Returns:
- this builder
-
build
public MaskingColumnSummary build()
-
copy
public MaskingColumnSummary.Builder copy(MaskingColumnSummary model)
-
-