@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SensitiveTypePattern extends SensitiveType
Details of the sensitive type.
Note: Objects should always be created or deserialized using the SensitiveTypePattern.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 SensitiveTypePattern.Builder
, which maintain a
set of all explicitly set fields called SensitiveTypePattern.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
SensitiveTypePattern.Builder |
static class |
SensitiveTypePattern.SearchType
The search type indicating how the column name, comment and data patterns should be used by
data discovery.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SensitiveTypePattern(String id,
String displayName,
String compartmentId,
DiscoveryLifecycleState lifecycleState,
String shortName,
SensitiveTypeSource source,
Date timeCreated,
Date timeUpdated,
String description,
String parentCategoryId,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
String namePattern,
String commentPattern,
String dataPattern,
SensitiveTypePattern.SearchType searchType,
String defaultMaskingFormatId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SensitiveTypePattern.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommentPattern()
A regular expression to be used by data discovery for matching column comments.
|
String |
getDataPattern()
A regular expression to be used by data discovery for matching column data values.
|
String |
getDefaultMaskingFormatId()
The OCID of the library masking format that should be used to mask the sensitive columns
associated with the sensitive type.
|
String |
getNamePattern()
A regular expression to be used by data discovery for matching column names.
|
SensitiveTypePattern.SearchType |
getSearchType()
The search type indicating how the column name, comment and data patterns should be used by
data discovery.
|
int |
hashCode() |
SensitiveTypePattern.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getId, getLifecycleState, getParentCategoryId, getShortName, getSource, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public SensitiveTypePattern(String id, String displayName, String compartmentId, DiscoveryLifecycleState lifecycleState, String shortName, SensitiveTypeSource source, Date timeCreated, Date timeUpdated, String description, String parentCategoryId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String namePattern, String commentPattern, String dataPattern, SensitiveTypePattern.SearchType searchType, String defaultMaskingFormatId)
public static SensitiveTypePattern.Builder builder()
Create a new builder.
public SensitiveTypePattern.Builder toBuilder()
public String getNamePattern()
A regular expression to be used by data discovery for matching column names.
public String getCommentPattern()
A regular expression to be used by data discovery for matching column comments.
public String getDataPattern()
A regular expression to be used by data discovery for matching column data values.
public SensitiveTypePattern.SearchType getSearchType()
The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
public String getDefaultMaskingFormatId()
The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
public String toString()
toString
in class SensitiveType
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SensitiveType
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SensitiveType
public int hashCode()
hashCode
in class SensitiveType
Copyright © 2016–2023. All rights reserved.