Class UpdateSensitiveColumnDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.UpdateSensitiveColumnDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class UpdateSensitiveColumnDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails to update a sensitive column in a sensitive data model.
 Note: Objects should always be created or deserialized using theUpdateSensitiveColumnDetails.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 theUpdateSensitiveColumnDetails.Builder, which maintain a set of all explicitly set fields calledUpdateSensitiveColumnDetails.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 SummaryNested Classes Modifier and Type Class Description static classUpdateSensitiveColumnDetails.Builderstatic classUpdateSensitiveColumnDetails.RelationTypeThe type of referential relationship the sensitive column has with its parent.static classUpdateSensitiveColumnDetails.StatusThe status of the sensitive column.
 - 
Constructor SummaryConstructors Constructor Description UpdateSensitiveColumnDetails(String dataType, UpdateSensitiveColumnDetails.Status status, String sensitiveTypeId, List<String> parentColumnKeys, UpdateSensitiveColumnDetails.RelationType relationType, List<String> appDefinedChildColumnKeys, List<String> dbDefinedChildColumnKeys)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSensitiveColumnDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAppDefinedChildColumnKeys()Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.StringgetDataType()The data type of the sensitive column.List<String>getDbDefinedChildColumnKeys()Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.List<String>getParentColumnKeys()Unique keys identifying the columns that are parents of the sensitive column.UpdateSensitiveColumnDetails.RelationTypegetRelationType()The type of referential relationship the sensitive column has with its parent.StringgetSensitiveTypeId()The OCID of the sensitive type to be associated with the sensitive column.UpdateSensitiveColumnDetails.StatusgetStatus()The status of the sensitive column.inthashCode()UpdateSensitiveColumnDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateSensitiveColumnDetails@Deprecated @ConstructorProperties({"dataType","status","sensitiveTypeId","parentColumnKeys","relationType","appDefinedChildColumnKeys","dbDefinedChildColumnKeys"}) public UpdateSensitiveColumnDetails(String dataType, UpdateSensitiveColumnDetails.Status status, String sensitiveTypeId, List<String> parentColumnKeys, UpdateSensitiveColumnDetails.RelationType relationType, List<String> appDefinedChildColumnKeys, List<String> dbDefinedChildColumnKeys) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateSensitiveColumnDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateSensitiveColumnDetails.Builder toBuilder() 
 - 
getDataTypepublic String getDataType() The data type of the sensitive column.- Returns:
- the value
 
 - 
getStatuspublic UpdateSensitiveColumnDetails.Status getStatus() The status of the sensitive column.VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive. - Returns:
- the value
 
 - 
getSensitiveTypeIdpublic String getSensitiveTypeId() The OCID of the sensitive type to be associated with the sensitive column.- Returns:
- the value
 
 - 
getParentColumnKeyspublic List<String> getParentColumnKeys() Unique keys identifying the columns that are parents of the sensitive column.At present, it accepts only one parent column key. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the parent column must be added to the sensitive data model before its key can be specified here. If this attribute is provided, the appDefinedChildColumnKeys or dbDefinedChildColumnKeys attribute of the parent column is automatically updated to reflect the relationship. - Returns:
- the value
 
 - 
getRelationTypepublic UpdateSensitiveColumnDetails.RelationType getRelationType() The type of referential relationship the sensitive column has with its parent.NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. - Returns:
- the value
 
 - 
getAppDefinedChildColumnKeyspublic List<String> getAppDefinedChildColumnKeys() Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship. - Returns:
- the value
 
 - 
getDbDefinedChildColumnKeyspublic List<String> getDbDefinedChildColumnKeys() Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-