Class SubsettingSchemaRelation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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