Package com.oracle.bmc.datacatalog.model
Class LineageObject.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.LineageObject.Builder
-
- Enclosing class:
- LineageObject
public static class LineageObject.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
objectKey
public LineageObject.Builder objectKey(String objectKey)
Key of the object, such as an entity, about which this lineage applies.- Parameters:
objectKey
- the value to set- Returns:
- this builder
-
displayName
public LineageObject.Builder displayName(String displayName)
Display name of the object.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public LineageObject.Builder description(String description)
Detailed description of the object.- Parameters:
description
- the value to set- Returns:
- this builder
-
isIntraLineageAvailable
public 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.
- Parameters:
isIntraLineageAvailable
- the value to set- Returns:
- this builder
-
parentKey
public LineageObject.Builder parentKey(String parentKey)
Key of the parent object for this object.- Parameters:
parentKey
- the value to set- Returns:
- this builder
-
parentPath
public LineageObject.Builder parentPath(String parentPath)
Full path of the parent object.- Parameters:
parentPath
- the value to set- Returns:
- this builder
-
timeCreated
public LineageObject.Builder timeCreated(Date timeCreated)
The time that this object was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LineageObject.Builder timeUpdated(Date timeUpdated)
The time that this object was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
typeName
public LineageObject.Builder typeName(String typeName)
Type name of the object.Type keys can be found via the ‘/types’ endpoint.
- Parameters:
typeName
- the value to set- Returns:
- this builder
-
typeKey
public LineageObject.Builder typeKey(String typeKey)
Type key of the object.Type keys can be found via the ‘/types’ endpoint.
- Parameters:
typeKey
- the value to set- Returns:
- this builder
-
properties
public 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”}}}
- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public LineageObject build()
-
copy
public LineageObject.Builder copy(LineageObject model)
-
-