Package com.oracle.bmc.datacatalog.model
Class EntityLineage.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.EntityLineage.Builder
-
- Enclosing class:
- EntityLineage
public static class EntityLineage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityLineage.Builder
annotations(Map<String,Map<String,String>> annotations)
A map of maps that contains additional information in explanation of the lineage returned.EntityLineage
build()
EntityLineage.Builder
copy(EntityLineage model)
EntityLineage.Builder
direction(LineageDirection direction)
Direction of the lineage returned.EntityLineage.Builder
level(Integer level)
Object level at which the lineage is returned.EntityLineage.Builder
objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.EntityLineage.Builder
relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.
-
-
-
Method Detail
-
level
public EntityLineage.Builder level(Integer level)
Object level at which the lineage is returned.- Parameters:
level
- the value to set- Returns:
- this builder
-
direction
public EntityLineage.Builder direction(LineageDirection direction)
Direction of the lineage returned.- Parameters:
direction
- the value to set- Returns:
- this builder
-
objects
public EntityLineage.Builder objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.- Parameters:
objects
- the value to set- Returns:
- this builder
-
relationships
public EntityLineage.Builder relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.- Parameters:
relationships
- the value to set- Returns:
- this builder
-
annotations
public EntityLineage.Builder annotations(Map<String,Map<String,String>> annotations)
A map of maps that contains additional information in explanation of the lineage returned.The map keys are categories of information and the values are maps of annotation names to their corresponding values. Every annotation is contained inside a category. Example: {“annotations”: { “category”: { “key”: “value”}}}
- Parameters:
annotations
- the value to set- Returns:
- this builder
-
build
public EntityLineage build()
-
copy
public EntityLineage.Builder copy(EntityLineage model)
-
-