Package com.oracle.bmc.datacatalog.model
Class ObjectLineage.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.ObjectLineage.Builder
-
- Enclosing class:
- ObjectLineage
public static class ObjectLineage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectLineage.Builder
annotations(Map<String,Map<String,String>> annotations)
A map of maps that contains additional information in explanation of the lineage returned.ObjectLineage
build()
ObjectLineage.Builder
copy(ObjectLineage model)
ObjectLineage.Builder
direction(LineageDirection direction)
Direction of the lineage returned.ObjectLineage.Builder
level(Integer level)
Object level at which the lineage is returned.ObjectLineage.Builder
objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.ObjectLineage.Builder
relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.
-
-
-
Method Detail
-
level
public ObjectLineage.Builder level(Integer level)
Object level at which the lineage is returned.- Parameters:
level
- the value to set- Returns:
- this builder
-
direction
public ObjectLineage.Builder direction(LineageDirection direction)
Direction of the lineage returned.- Parameters:
direction
- the value to set- Returns:
- this builder
-
objects
public ObjectLineage.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 ObjectLineage.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 ObjectLineage.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 ObjectLineage build()
-
copy
public ObjectLineage.Builder copy(ObjectLineage model)
-
-