public static class ReferentialRelationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public ReferentialRelationSummary.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 ReferentialRelationSummary.Builder lifecycleState(ReferentialRelationLifecycleState lifecycleState)
The current state of the referential relation.
lifecycleState
- the value to setpublic ReferentialRelationSummary.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model that contains the sensitive column.
sensitiveDataModelId
- the value to setpublic ReferentialRelationSummary.Builder relationType(ReferentialRelationSummary.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 ReferentialRelationSummary.Builder parent(ColumnsInfo parent)
public ReferentialRelationSummary.Builder child(ColumnsInfo child)
public ReferentialRelationSummary.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 ReferentialRelationSummary build()
public ReferentialRelationSummary.Builder copy(ReferentialRelationSummary model)
Copyright © 2016–2025. All rights reserved.