public static class ReferentialRelation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReferentialRelation |
build() |
ReferentialRelation.Builder |
child(ColumnsInfo child) |
ReferentialRelation.Builder |
copy(ReferentialRelation model) |
ReferentialRelation.Builder |
isSensitive(Boolean isSensitive)
Determines if the columns present in the referential relation is present in the sensitive
data model
|
ReferentialRelation.Builder |
key(String key)
The unique key that identifies the referential relation.
|
ReferentialRelation.Builder |
lifecycleState(ReferentialRelationLifecycleState lifecycleState)
The current state of the referential relation.
|
ReferentialRelation.Builder |
parent(ColumnsInfo parent) |
ReferentialRelation.Builder |
relationType(ReferentialRelation.RelationType relationType)
The type of referential relationship the sensitive column has with its parent.
|
ReferentialRelation.Builder |
sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
|
public ReferentialRelation.Builder key(String key)
The unique key that identifies the referential relation. It’s numeric and unique within a sensitive data model.
key
- the value to setpublic ReferentialRelation.Builder lifecycleState(ReferentialRelationLifecycleState lifecycleState)
The current state of the referential relation.
lifecycleState
- the value to setpublic ReferentialRelation.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
sensitiveDataModelId
- the value to setpublic ReferentialRelation.Builder relationType(ReferentialRelation.RelationType relationType)
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.
relationType
- the value to setpublic ReferentialRelation.Builder parent(ColumnsInfo parent)
public ReferentialRelation.Builder child(ColumnsInfo child)
public ReferentialRelation.Builder isSensitive(Boolean isSensitive)
Determines if the columns present in the referential relation is present in the sensitive data model
isSensitive
- the value to setpublic ReferentialRelation build()
public ReferentialRelation.Builder copy(ReferentialRelation model)
Copyright © 2016–2025. All rights reserved.