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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
key
public 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
-
lifecycleState
public ReferentialRelation.Builder lifecycleState(ReferentialRelationLifecycleState lifecycleState)
The current state of the referential relation.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
sensitiveDataModelId
public 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
-
relationType
public 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
-
parent
public ReferentialRelation.Builder parent(ColumnsInfo parent)
-
child
public ReferentialRelation.Builder child(ColumnsInfo child)
-
isSensitive
public 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
-
build
public ReferentialRelation build()
-
copy
public ReferentialRelation.Builder copy(ReferentialRelation model)
-
-