Class MaskingReport
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.MaskingReport
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class MaskingReport extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A masking report contains information about a completed masking request.It includes details such as the target database masked, masking policy used, masking start and finish time, total number of schemas, tables, columns and values masked, masked columns, and the masking formats used.
Note: Objects should always be created or deserialized using theMaskingReport.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 theMaskingReport.Builder
, which maintain a set of all explicitly set fields calledMaskingReport.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
MaskingReport.Builder
static class
MaskingReport.MaskingStatus
The status of the masking job.
-
Constructor Summary
Constructors Constructor Description MaskingReport(String id, String compartmentId, String maskingWorkRequestId, String maskingPolicyId, String targetId, Long totalMaskedSensitiveTypes, Long totalMaskedSchemas, Long totalMaskedObjects, Long totalMaskedColumns, Long totalMaskedValues, Date timeMaskingStarted, Date timeMaskingFinished, MaskingLifecycleState lifecycleState, Date timeCreated, Boolean isDropTempTablesEnabled, Boolean isRedoLoggingEnabled, Boolean isRefreshStatsEnabled, String parallelDegree, String recompile, MaskingReport.MaskingStatus maskingStatus, Long totalPreMaskingScriptErrors, Long totalPostMaskingScriptErrors)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaskingReport.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment that contains the masking report.String
getId()
The OCID of the masking report.Boolean
getIsDropTempTablesEnabled()
Indicates if the temporary tables created during the masking operation were dropped after masking.Boolean
getIsRedoLoggingEnabled()
Indicates if redo logging was enabled during the masking operation.Boolean
getIsRefreshStatsEnabled()
Indicates if statistics gathering was enabled during the masking operation.MaskingLifecycleState
getLifecycleState()
The current state of the masking report.String
getMaskingPolicyId()
The OCID of the masking policy used.MaskingReport.MaskingStatus
getMaskingStatus()
The status of the masking job.String
getMaskingWorkRequestId()
The OCID of the masking work request that resulted in this masking report.String
getParallelDegree()
Indicates if parallel execution was enabled during the masking operation.String
getRecompile()
Indicates how invalid objects were recompiled post the masking operation.String
getTargetId()
The OCID of the target database masked.Date
getTimeCreated()
The date and time the masking report was created, in the format defined by RFC3339.Date
getTimeMaskingFinished()
The date and time data masking finished, in the format defined by RFC3339Date
getTimeMaskingStarted()
The date and time data masking started, in the format defined by RFC3339Long
getTotalMaskedColumns()
The total number of masked columns.Long
getTotalMaskedObjects()
The total number of unique objects (tables and editioning views) that contain the masked columns.Long
getTotalMaskedSchemas()
The total number of unique schemas that contain the masked columns.Long
getTotalMaskedSensitiveTypes()
The total number of unique sensitive types associated with the masked columns.Long
getTotalMaskedValues()
The total number of masked values.Long
getTotalPostMaskingScriptErrors()
The total number of errors in post-masking script.Long
getTotalPreMaskingScriptErrors()
The total number of errors in pre-masking script.int
hashCode()
MaskingReport.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MaskingReport
@Deprecated @ConstructorProperties({"id","compartmentId","maskingWorkRequestId","maskingPolicyId","targetId","totalMaskedSensitiveTypes","totalMaskedSchemas","totalMaskedObjects","totalMaskedColumns","totalMaskedValues","timeMaskingStarted","timeMaskingFinished","lifecycleState","timeCreated","isDropTempTablesEnabled","isRedoLoggingEnabled","isRefreshStatsEnabled","parallelDegree","recompile","maskingStatus","totalPreMaskingScriptErrors","totalPostMaskingScriptErrors"}) public MaskingReport(String id, String compartmentId, String maskingWorkRequestId, String maskingPolicyId, String targetId, Long totalMaskedSensitiveTypes, Long totalMaskedSchemas, Long totalMaskedObjects, Long totalMaskedColumns, Long totalMaskedValues, Date timeMaskingStarted, Date timeMaskingFinished, MaskingLifecycleState lifecycleState, Date timeCreated, Boolean isDropTempTablesEnabled, Boolean isRedoLoggingEnabled, Boolean isRefreshStatsEnabled, String parallelDegree, String recompile, MaskingReport.MaskingStatus maskingStatus, Long totalPreMaskingScriptErrors, Long totalPostMaskingScriptErrors)
Deprecated.
-
-
Method Detail
-
builder
public static MaskingReport.Builder builder()
Create a new builder.
-
toBuilder
public MaskingReport.Builder toBuilder()
-
getId
public String getId()
The OCID of the masking report.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the masking report.- Returns:
- the value
-
getMaskingWorkRequestId
public String getMaskingWorkRequestId()
The OCID of the masking work request that resulted in this masking report.- Returns:
- the value
-
getMaskingPolicyId
public String getMaskingPolicyId()
The OCID of the masking policy used.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database masked.- Returns:
- the value
-
getTotalMaskedSensitiveTypes
public Long getTotalMaskedSensitiveTypes()
The total number of unique sensitive types associated with the masked columns.- Returns:
- the value
-
getTotalMaskedSchemas
public Long getTotalMaskedSchemas()
The total number of unique schemas that contain the masked columns.- Returns:
- the value
-
getTotalMaskedObjects
public Long getTotalMaskedObjects()
The total number of unique objects (tables and editioning views) that contain the masked columns.- Returns:
- the value
-
getTotalMaskedColumns
public Long getTotalMaskedColumns()
The total number of masked columns.- Returns:
- the value
-
getTotalMaskedValues
public Long getTotalMaskedValues()
The total number of masked values.- Returns:
- the value
-
getTimeMaskingStarted
public Date getTimeMaskingStarted()
The date and time data masking started, in the format defined by RFC3339- Returns:
- the value
-
getTimeMaskingFinished
public Date getTimeMaskingFinished()
The date and time data masking finished, in the format defined by RFC3339- Returns:
- the value
-
getLifecycleState
public MaskingLifecycleState getLifecycleState()
The current state of the masking report.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the masking report was created, in the format defined by RFC3339.- Returns:
- the value
-
getIsDropTempTablesEnabled
public Boolean getIsDropTempTablesEnabled()
Indicates if the temporary tables created during the masking operation were dropped after masking.- Returns:
- the value
-
getIsRedoLoggingEnabled
public Boolean getIsRedoLoggingEnabled()
Indicates if redo logging was enabled during the masking operation.- Returns:
- the value
-
getIsRefreshStatsEnabled
public Boolean getIsRefreshStatsEnabled()
Indicates if statistics gathering was enabled during the masking operation.- Returns:
- the value
-
getParallelDegree
public String getParallelDegree()
Indicates if parallel execution was enabled during the masking operation.- Returns:
- the value
-
getRecompile
public String getRecompile()
Indicates how invalid objects were recompiled post the masking operation.- Returns:
- the value
-
getMaskingStatus
public MaskingReport.MaskingStatus getMaskingStatus()
The status of the masking job.- Returns:
- the value
-
getTotalPreMaskingScriptErrors
public Long getTotalPreMaskingScriptErrors()
The total number of errors in pre-masking script.- Returns:
- the value
-
getTotalPostMaskingScriptErrors
public Long getTotalPostMaskingScriptErrors()
The total number of errors in post-masking script.- 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
-
-