@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class MaskDataDetails extends Object
Details to mask data.
Note: Objects should always be created or deserialized using the MaskDataDetails.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 the MaskDataDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
MaskDataDetails.Builder |
Constructor and Description |
---|
MaskDataDetails(String targetId,
Boolean isDecrypt,
Boolean isRerun,
String tablespace,
Boolean isIgnoreErrorsEnabled,
String seed,
Boolean isMoveInterimTablesEnabled,
Boolean isExecuteSavedScriptEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaskDataDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getIsDecrypt()
Indicates if the masking request is to decrypt the data values previously encrypted using Deterministic Encryption.
|
Boolean |
getIsExecuteSavedScriptEnabled()
Indicates if data masking should be performed using a saved masking script.
|
Boolean |
getIsIgnoreErrorsEnabled()
Indicates if the masking process should continue on hitting an error.
|
Boolean |
getIsMoveInterimTablesEnabled()
Indicates if the interim DMASK tables should be moved to the user-specified tablespace.
|
Boolean |
getIsRerun()
Indicates if the masking request is to rerun the previously failed masking steps.
|
String |
getSeed()
The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats.
|
String |
getTablespace()
The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking.
|
String |
getTargetId()
The OCID of the target database to be masked.
|
int |
hashCode() |
MaskDataDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
@Deprecated @ConstructorProperties(value={"targetId","isDecrypt","isRerun","tablespace","isIgnoreErrorsEnabled","seed","isMoveInterimTablesEnabled","isExecuteSavedScriptEnabled"}) public MaskDataDetails(String targetId, Boolean isDecrypt, Boolean isRerun, String tablespace, Boolean isIgnoreErrorsEnabled, String seed, Boolean isMoveInterimTablesEnabled, Boolean isExecuteSavedScriptEnabled)
public static MaskDataDetails.Builder builder()
Create a new builder.
public MaskDataDetails.Builder toBuilder()
public String getTargetId()
The OCID of the target database to be masked. If it’s not provided, the value of the targetId attribute in the MaskingPolicy resource is used. The OCID of the target database to be masked. If it’s not provided, the value of the targetId attribute in the MaskingPolicy resource is used.
public Boolean getIsDecrypt()
Indicates if the masking request is to decrypt the data values previously encrypted using Deterministic Encryption. Note that, to correctly decrypt the encrypted data values, it requires the same seed value that was provided to encrypt those data values.
public Boolean getIsRerun()
Indicates if the masking request is to rerun the previously failed masking steps. If a masking request is submitted with the isIgnoreErrorsEnabled attribute set to true, the masking process tracks the failed masking steps. Another masking request can be submitted with the isRun attribute set to true to rerun those failed masking steps. It helps save time by executing only the failed masking steps and not doing the whole masking again.
public String getTablespace()
The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking. If no tablespace is provided, the DEFAULT tablespace is used.
public Boolean getIsIgnoreErrorsEnabled()
Indicates if the masking process should continue on hitting an error. It provides fault tolerance support and is enabled by default. In fault-tolerant mode, the masking process saves the failed step and continues. You can then submit another masking request (with isRerun attribute set to true) to execute only the failed steps.
public String getSeed()
The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats.
public Boolean getIsMoveInterimTablesEnabled()
Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size, set it to false if moving them causes performance overhead during masking.
public Boolean getIsExecuteSavedScriptEnabled()
Indicates if data masking should be performed using a saved masking script. Setting this attribute to true skips masking script generation and executes the masking script stored in the Data Safe repository. It helps save time if there are no changes in the database tables and their dependencies.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arraysCopyright © 2016–2022. All rights reserved.