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 Object
implements OpenLineage.Builder<OpenLineage.Run>
builder class for Run
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of Run from the fields set in the builderfacets
(OpenLineage.RunFacets facets)
-
Constructor Details
-
RunBuilder
public RunBuilder()
-
-
Method Details
-
runId
- Parameters:
runId
- The globally unique ID of the run associated with the job.- Returns:
- this
-
facets
- Parameters:
facets
- The run facets.- Returns:
- this
-
build
build an instance of Run from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.Run>
- Returns:
- the constructed type
-