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