public static class ObjectLineage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ObjectLineage.Builder level(Integer level)
Object level at which the lineage is returned.
level
- the value to setpublic ObjectLineage.Builder direction(LineageDirection direction)
Direction of the lineage returned.
direction
- the value to setpublic ObjectLineage.Builder objects(List<LineageObject> objects)
Set of objects that are involved in the lineage.
objects
- the value to setpublic ObjectLineage.Builder relationships(List<LineageRelationship> relationships)
Set of relationships between the objects in the ‘objects’ set.
relationships
- the value to setpublic 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"}}}
annotations
- the value to setpublic ObjectLineage build()
public ObjectLineage.Builder copy(ObjectLineage model)
Copyright © 2016–2024. All rights reserved.