Class CreateMaskingColumnDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.CreateMaskingColumnDetails.Builder
 
- 
- Enclosing class:
- CreateMaskingColumnDetails
 
 public static class CreateMaskingColumnDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMaskingColumnDetailsbuild()CreateMaskingColumnDetails.BuildercolumnName(String columnName)The name of the database column.CreateMaskingColumnDetails.Buildercopy(CreateMaskingColumnDetails model)CreateMaskingColumnDetails.BuilderisMaskingEnabled(Boolean isMaskingEnabled)Indicates whether data masking is enabled for the masking column.CreateMaskingColumnDetails.BuildermaskingColumnGroup(String maskingColumnGroup)The group of the masking column.CreateMaskingColumnDetails.BuildermaskingFormats(List<MaskingFormat> maskingFormats)The masking formats to be assigned to the masking column.CreateMaskingColumnDetails.BuilderobjectName(String objectName)The name of the object (table or editioning view) that contains the database column.CreateMaskingColumnDetails.BuilderobjectType(ObjectType objectType)The type of the object that contains the database column.CreateMaskingColumnDetails.BuilderschemaName(String schemaName)The name of the schema that contains the database column.CreateMaskingColumnDetails.BuildersensitiveTypeId(String sensitiveTypeId)The OCID of the sensitive type to be associated with the masking column.
 
- 
- 
- 
Method Detail- 
schemaNamepublic CreateMaskingColumnDetails.Builder schemaName(String schemaName) The name of the schema that contains the database column.This attribute cannot be updated for an existing masking column. - Parameters:
- schemaName- the value to set
- Returns:
- this builder
 
 - 
objectNamepublic CreateMaskingColumnDetails.Builder objectName(String objectName) The name of the object (table or editioning view) that contains the database column.This attribute cannot be updated for an existing masking column. - Parameters:
- objectName- the value to set
- Returns:
- this builder
 
 - 
objectTypepublic CreateMaskingColumnDetails.Builder objectType(ObjectType objectType) The type of the object that contains the database column.- Parameters:
- objectType- the value to set
- Returns:
- this builder
 
 - 
columnNamepublic CreateMaskingColumnDetails.Builder columnName(String columnName) The name of the database column.This attribute cannot be updated for an existing masking 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
 
 - 
maskingColumnGrouppublic CreateMaskingColumnDetails.Builder maskingColumnGroup(String maskingColumnGroup) 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. - Parameters:
- maskingColumnGroup- the value to set
- Returns:
- this builder
 
 - 
sensitiveTypeIdpublic CreateMaskingColumnDetails.Builder sensitiveTypeId(String sensitiveTypeId) The OCID of the sensitive type to be associated with the masking column.Note that if the maskingFormats attribute isn’t provided while creating a masking column, the default masking format associated with the specified sensitive type is assigned to the masking column. - Parameters:
- sensitiveTypeId- the value to set
- Returns:
- this builder
 
 - 
isMaskingEnabledpublic CreateMaskingColumnDetails.Builder isMaskingEnabled(Boolean isMaskingEnabled) Indicates whether data masking is enabled for the masking column.Set it to false if you don’t want to mask the column. - Parameters:
- isMaskingEnabled- the value to set
- Returns:
- this builder
 
 - 
maskingFormatspublic CreateMaskingColumnDetails.Builder maskingFormats(List<MaskingFormat> maskingFormats) 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. - Parameters:
- maskingFormats- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateMaskingColumnDetails build() 
 - 
copypublic CreateMaskingColumnDetails.Builder copy(CreateMaskingColumnDetails model) 
 
- 
 
-