public static class LineageObject.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LineageObject |
build() |
LineageObject.Builder |
copy(LineageObject model) |
LineageObject.Builder |
description(String description)
Detailed description of the object.
|
LineageObject.Builder |
displayName(String displayName)
Display name of the object.
|
LineageObject.Builder |
isIntraLineageAvailable(Boolean isIntraLineageAvailable)
Indicates if intra-lineage is available for this given object.
|
LineageObject.Builder |
objectKey(String objectKey)
Key of the object, such as an entity, about which this lineage applies.
|
LineageObject.Builder |
parentKey(String parentKey)
Key of the parent object for this object.
|
LineageObject.Builder |
parentPath(String parentPath)
Full path of the parent object.
|
LineageObject.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the entity type.
|
LineageObject.Builder |
timeCreated(Date timeCreated)
The time that this object was created.
|
LineageObject.Builder |
timeUpdated(Date timeUpdated)
The time that this object was updated.
|
LineageObject.Builder |
typeKey(String typeKey)
Type key of the object.
|
LineageObject.Builder |
typeName(String typeName)
Type name of the object.
|
public LineageObject.Builder objectKey(String objectKey)
Key of the object, such as an entity, about which this lineage applies.
objectKey
- the value to setpublic LineageObject.Builder displayName(String displayName)
Display name of the object.
displayName
- the value to setpublic LineageObject.Builder description(String description)
Detailed description of the object.
description
- the value to setpublic LineageObject.Builder isIntraLineageAvailable(Boolean isIntraLineageAvailable)
Indicates if intra-lineage is available for this given object. If yes, drill-down can be requested for this object.
isIntraLineageAvailable
- the value to setpublic LineageObject.Builder parentKey(String parentKey)
Key of the parent object for this object.
parentKey
- the value to setpublic LineageObject.Builder parentPath(String parentPath)
Full path of the parent object.
parentPath
- the value to setpublic LineageObject.Builder timeCreated(Date timeCreated)
The time that this object was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic LineageObject.Builder timeUpdated(Date timeUpdated)
The time that this object was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic LineageObject.Builder typeName(String typeName)
Type name of the object. Type keys can be found via the ‘/types’ endpoint.
typeName
- the value to setpublic LineageObject.Builder typeKey(String typeKey)
Type key of the object. Type keys can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic LineageObject.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the entity type. Each
entity type definition defines it’s set of required and optional properties. The map keys
are category names and the values are maps of property name to property value. Every
property is contained inside of a category. Most data entities have required properties
within the “default” category. Example: {"properties": { "default": { "key1":
"value1"}}}
properties
- the value to setpublic LineageObject build()
public LineageObject.Builder copy(LineageObject model)
Copyright © 2016–2024. All rights reserved.