Package com.oracle.bmc.datasafe.model
Class ReferentialRelationSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.ReferentialRelationSummary.Builder
 
- 
- Enclosing class:
- ReferentialRelationSummary
 
 public static class ReferentialRelationSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
keypublic ReferentialRelationSummary.Builder key(String key) The unique key that identifies the referential relation.It’s numeric and unique within a sensitive data model. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ReferentialRelationSummary.Builder lifecycleState(ReferentialRelationLifecycleState lifecycleState) The current state of the referential relation.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
sensitiveDataModelIdpublic ReferentialRelationSummary.Builder sensitiveDataModelId(String sensitiveDataModelId) The OCID of the sensitive data model that contains the sensitive column.- Parameters:
- sensitiveDataModelId- the value to set
- Returns:
- this builder
 
 - 
relationTypepublic 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. - Parameters:
- relationType- the value to set
- Returns:
- this builder
 
 - 
parentpublic ReferentialRelationSummary.Builder parent(ColumnsInfo parent) 
 - 
childpublic ReferentialRelationSummary.Builder child(ColumnsInfo child) 
 - 
isSensitivepublic ReferentialRelationSummary.Builder isSensitive(Boolean isSensitive) Determines if the columns present in the referential relation is present in the sensitive data model- Parameters:
- isSensitive- the value to set
- Returns:
- this builder
 
 - 
buildpublic ReferentialRelationSummary build() 
 - 
copypublic ReferentialRelationSummary.Builder copy(ReferentialRelationSummary model) 
 
- 
 
-