Package com.oracle.bmc.datasafe.model
Class SubsettingSchemaRelation.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SubsettingSchemaRelation.Builder
-
- Enclosing class:
- SubsettingSchemaRelation
public static class SubsettingSchemaRelation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubsettingSchemaRelationbuild()SubsettingSchemaRelation.BuilderchildColumns(List<String> childColumns)Unique identifiers identifying the child columns in the relation.SubsettingSchemaRelation.BuilderchildObjectKey(String childObjectKey)The key that identifies the child subsetting table in this relation.SubsettingSchemaRelation.BuilderchildObjectName(String childObjectName)The name of the child subsetting tableSubsettingSchemaRelation.BuilderchildSchemaName(String childSchemaName)The database schema that contains the child subsetting tableSubsettingSchemaRelation.Buildercopy(SubsettingSchemaRelation model)SubsettingSchemaRelation.Builderkey(String key)The unique key that identifies a relation between subsetting tables.SubsettingSchemaRelation.BuilderparentColumns(List<String> parentColumns)Unique identifiers identifying the parents columns in the relation.SubsettingSchemaRelation.BuilderparentObjectKey(String parentObjectKey)The key that identifies the parent subsetting table in this relation.SubsettingSchemaRelation.BuilderparentObjectName(String parentObjectName)The name of the parent subsetting tableSubsettingSchemaRelation.BuilderparentSchemaName(String parentSchemaName)The database schema that contains the parent subsetting tableSubsettingSchemaRelation.BuilderrelationType(SubsettingSchemaRelation.RelationType relationType)The type of referential relationship the column has with its parent.SubsettingSchemaRelation.BuildertimeCreated(Date timeCreated)The date and time the subsetting relation was created, in the format defined by RFC3339.SubsettingSchemaRelation.BuildertimeUpdated(Date timeUpdated)The date and time the subsetting relation was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
key
public SubsettingSchemaRelation.Builder key(String key)
The unique key that identifies a relation between subsetting tables.The key is numeric and unique within a subsetting policy.
- Parameters:
key- the value to set- Returns:
- this builder
-
parentObjectKey
public SubsettingSchemaRelation.Builder parentObjectKey(String parentObjectKey)
The key that identifies the parent subsetting table in this relation.- Parameters:
parentObjectKey- the value to set- Returns:
- this builder
-
parentSchemaName
public SubsettingSchemaRelation.Builder parentSchemaName(String parentSchemaName)
The database schema that contains the parent subsetting table- Parameters:
parentSchemaName- the value to set- Returns:
- this builder
-
parentObjectName
public SubsettingSchemaRelation.Builder parentObjectName(String parentObjectName)
The name of the parent subsetting table- Parameters:
parentObjectName- the value to set- Returns:
- this builder
-
parentColumns
public SubsettingSchemaRelation.Builder parentColumns(List<String> parentColumns)
Unique identifiers identifying the parents columns in the relation.- Parameters:
parentColumns- the value to set- Returns:
- this builder
-
childObjectKey
public SubsettingSchemaRelation.Builder childObjectKey(String childObjectKey)
The key that identifies the child subsetting table in this relation.- Parameters:
childObjectKey- the value to set- Returns:
- this builder
-
childSchemaName
public SubsettingSchemaRelation.Builder childSchemaName(String childSchemaName)
The database schema that contains the child subsetting table- Parameters:
childSchemaName- the value to set- Returns:
- this builder
-
childObjectName
public SubsettingSchemaRelation.Builder childObjectName(String childObjectName)
The name of the child subsetting table- Parameters:
childObjectName- the value to set- Returns:
- this builder
-
childColumns
public SubsettingSchemaRelation.Builder childColumns(List<String> childColumns)
Unique identifiers identifying the child columns in the relation.- Parameters:
childColumns- the value to set- Returns:
- this builder
-
relationType
public SubsettingSchemaRelation.Builder relationType(SubsettingSchemaRelation.RelationType relationType)
The type of referential relationship the 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
-
timeCreated
public SubsettingSchemaRelation.Builder timeCreated(Date timeCreated)
The date and time the subsetting relation was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SubsettingSchemaRelation.Builder timeUpdated(Date timeUpdated)
The date and time the subsetting relation was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public SubsettingSchemaRelation build()
-
copy
public SubsettingSchemaRelation.Builder copy(SubsettingSchemaRelation model)
-
-