Package com.oracle.bmc.datasafe.model
Class MaskingReport.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.MaskingReport.Builder
-
- Enclosing class:
- MaskingReport
public static class MaskingReport.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaskingReport
build()
MaskingReport.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the masking report.MaskingReport.Builder
copy(MaskingReport model)
MaskingReport.Builder
id(String id)
The OCID of the masking report.MaskingReport.Builder
isDropTempTablesEnabled(Boolean isDropTempTablesEnabled)
Indicates if the temporary tables created during the masking operation were dropped after masking.MaskingReport.Builder
isRedoLoggingEnabled(Boolean isRedoLoggingEnabled)
Indicates if redo logging was enabled during the masking operation.MaskingReport.Builder
isRefreshStatsEnabled(Boolean isRefreshStatsEnabled)
Indicates if statistics gathering was enabled during the masking operation.MaskingReport.Builder
lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the masking report.MaskingReport.Builder
maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy used.MaskingReport.Builder
maskingStatus(MaskingReport.MaskingStatus maskingStatus)
The status of the masking job.MaskingReport.Builder
maskingWorkRequestId(String maskingWorkRequestId)
The OCID of the masking work request that resulted in this masking report.MaskingReport.Builder
parallelDegree(String parallelDegree)
Indicates if parallel execution was enabled during the masking operation.MaskingReport.Builder
recompile(String recompile)
Indicates how invalid objects were recompiled post the masking operation.MaskingReport.Builder
targetId(String targetId)
The OCID of the target database masked.MaskingReport.Builder
timeCreated(Date timeCreated)
The date and time the masking report was created, in the format defined by RFC3339.MaskingReport.Builder
timeMaskingFinished(Date timeMaskingFinished)
The date and time data masking finished, in the format defined by RFC3339MaskingReport.Builder
timeMaskingStarted(Date timeMaskingStarted)
The date and time data masking started, in the format defined by RFC3339MaskingReport.Builder
totalMaskedColumns(Long totalMaskedColumns)
The total number of masked columns.MaskingReport.Builder
totalMaskedObjects(Long totalMaskedObjects)
The total number of unique objects (tables and editioning views) that contain the masked columns.MaskingReport.Builder
totalMaskedSchemas(Long totalMaskedSchemas)
The total number of unique schemas that contain the masked columns.MaskingReport.Builder
totalMaskedSensitiveTypes(Long totalMaskedSensitiveTypes)
The total number of unique sensitive types associated with the masked columns.MaskingReport.Builder
totalMaskedValues(Long totalMaskedValues)
The total number of masked values.MaskingReport.Builder
totalPostMaskingScriptErrors(Long totalPostMaskingScriptErrors)
The total number of errors in post-masking script.MaskingReport.Builder
totalPreMaskingScriptErrors(Long totalPreMaskingScriptErrors)
The total number of errors in pre-masking script.
-
-
-
Method Detail
-
id
public MaskingReport.Builder id(String id)
The OCID of the masking report.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public MaskingReport.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the masking report.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
maskingWorkRequestId
public MaskingReport.Builder maskingWorkRequestId(String maskingWorkRequestId)
The OCID of the masking work request that resulted in this masking report.- Parameters:
maskingWorkRequestId
- the value to set- Returns:
- this builder
-
maskingPolicyId
public MaskingReport.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy used.- Parameters:
maskingPolicyId
- the value to set- Returns:
- this builder
-
targetId
public MaskingReport.Builder targetId(String targetId)
The OCID of the target database masked.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
totalMaskedSensitiveTypes
public MaskingReport.Builder totalMaskedSensitiveTypes(Long totalMaskedSensitiveTypes)
The total number of unique sensitive types associated with the masked columns.- Parameters:
totalMaskedSensitiveTypes
- the value to set- Returns:
- this builder
-
totalMaskedSchemas
public MaskingReport.Builder totalMaskedSchemas(Long totalMaskedSchemas)
The total number of unique schemas that contain the masked columns.- Parameters:
totalMaskedSchemas
- the value to set- Returns:
- this builder
-
totalMaskedObjects
public MaskingReport.Builder totalMaskedObjects(Long totalMaskedObjects)
The total number of unique objects (tables and editioning views) that contain the masked columns.- Parameters:
totalMaskedObjects
- the value to set- Returns:
- this builder
-
totalMaskedColumns
public MaskingReport.Builder totalMaskedColumns(Long totalMaskedColumns)
The total number of masked columns.- Parameters:
totalMaskedColumns
- the value to set- Returns:
- this builder
-
totalMaskedValues
public MaskingReport.Builder totalMaskedValues(Long totalMaskedValues)
The total number of masked values.- Parameters:
totalMaskedValues
- the value to set- Returns:
- this builder
-
timeMaskingStarted
public MaskingReport.Builder timeMaskingStarted(Date timeMaskingStarted)
The date and time data masking started, in the format defined by RFC3339- Parameters:
timeMaskingStarted
- the value to set- Returns:
- this builder
-
timeMaskingFinished
public MaskingReport.Builder timeMaskingFinished(Date timeMaskingFinished)
The date and time data masking finished, in the format defined by RFC3339- Parameters:
timeMaskingFinished
- the value to set- Returns:
- this builder
-
lifecycleState
public MaskingReport.Builder lifecycleState(MaskingLifecycleState lifecycleState)
The current state of the masking report.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public MaskingReport.Builder timeCreated(Date timeCreated)
The date and time the masking report was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
isDropTempTablesEnabled
public MaskingReport.Builder isDropTempTablesEnabled(Boolean isDropTempTablesEnabled)
Indicates if the temporary tables created during the masking operation were dropped after masking.- Parameters:
isDropTempTablesEnabled
- the value to set- Returns:
- this builder
-
isRedoLoggingEnabled
public MaskingReport.Builder isRedoLoggingEnabled(Boolean isRedoLoggingEnabled)
Indicates if redo logging was enabled during the masking operation.- Parameters:
isRedoLoggingEnabled
- the value to set- Returns:
- this builder
-
isRefreshStatsEnabled
public MaskingReport.Builder isRefreshStatsEnabled(Boolean isRefreshStatsEnabled)
Indicates if statistics gathering was enabled during the masking operation.- Parameters:
isRefreshStatsEnabled
- the value to set- Returns:
- this builder
-
parallelDegree
public MaskingReport.Builder parallelDegree(String parallelDegree)
Indicates if parallel execution was enabled during the masking operation.- Parameters:
parallelDegree
- the value to set- Returns:
- this builder
-
recompile
public MaskingReport.Builder recompile(String recompile)
Indicates how invalid objects were recompiled post the masking operation.- Parameters:
recompile
- the value to set- Returns:
- this builder
-
maskingStatus
public MaskingReport.Builder maskingStatus(MaskingReport.MaskingStatus maskingStatus)
The status of the masking job.- Parameters:
maskingStatus
- the value to set- Returns:
- this builder
-
totalPreMaskingScriptErrors
public MaskingReport.Builder totalPreMaskingScriptErrors(Long totalPreMaskingScriptErrors)
The total number of errors in pre-masking script.- Parameters:
totalPreMaskingScriptErrors
- the value to set- Returns:
- this builder
-
totalPostMaskingScriptErrors
public MaskingReport.Builder totalPostMaskingScriptErrors(Long totalPostMaskingScriptErrors)
The total number of errors in post-masking script.- Parameters:
totalPostMaskingScriptErrors
- the value to set- Returns:
- this builder
-
build
public MaskingReport build()
-
copy
public MaskingReport.Builder copy(MaskingReport model)
-
-