Package io.openlineage.client
Class OpenLineage.RunBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.RunBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.Run>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.RunBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.Run>
-
-
Constructor Summary
Constructors Constructor Description RunBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.Run
build()
OpenLineage.RunBuilder
facets(OpenLineage.RunFacets facets)
OpenLineage.RunBuilder
runId(java.util.UUID runId)
-
-
-
Method Detail
-
runId
public OpenLineage.RunBuilder runId(java.util.UUID runId)
- Parameters:
runId
- The globally unique ID of the run associated with the job.- Returns:
- this
-
facets
public OpenLineage.RunBuilder facets(OpenLineage.RunFacets facets)
- Parameters:
facets
- The run facets.- Returns:
- this
-
build
public OpenLineage.Run build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.Run>
- Returns:
- the constructed type
-
-