Package com.oracle.bmc.datasafe.model
Class ReferentialRelation.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.ReferentialRelation.Builder
 
- 
- Enclosing class:
- ReferentialRelation
 
 public static class ReferentialRelation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferentialRelationbuild()ReferentialRelation.Builderchild(ColumnsInfo child)ReferentialRelation.Buildercopy(ReferentialRelation model)ReferentialRelation.BuilderisSensitive(Boolean isSensitive)Determines if the columns present in the referential relation is present in the sensitive data modelReferentialRelation.Builderkey(String key)The unique key that identifies the referential relation.ReferentialRelation.BuilderlifecycleState(ReferentialRelationLifecycleState lifecycleState)The current state of the referential relation.ReferentialRelation.Builderparent(ColumnsInfo parent)ReferentialRelation.BuilderrelationType(ReferentialRelation.RelationType relationType)The type of referential relationship the sensitive column has with its parent.ReferentialRelation.BuildersensitiveDataModelId(String sensitiveDataModelId)The OCID of the sensitive data model that contains the sensitive column.
 
- 
- 
- 
Method Detail- 
keypublic ReferentialRelation.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 ReferentialRelation.Builder lifecycleState(ReferentialRelationLifecycleState lifecycleState) The current state of the referential relation.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
sensitiveDataModelIdpublic ReferentialRelation.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 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. - Parameters:
- relationType- the value to set
- Returns:
- this builder
 
 - 
parentpublic ReferentialRelation.Builder parent(ColumnsInfo parent) 
 - 
childpublic ReferentialRelation.Builder child(ColumnsInfo child) 
 - 
isSensitivepublic ReferentialRelation.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 ReferentialRelation build() 
 - 
copypublic ReferentialRelation.Builder copy(ReferentialRelation model) 
 
- 
 
-