Package io.openlineage.client
Class OpenLineage.ParentRunFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.ParentRunFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ParentRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ParentRunFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.ParentRunFacet>
builder class for ParentRunFacet
-
-
Constructor Summary
Constructors Constructor Description ParentRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ParentRunFacet
build()
build an instance of ParentRunFacet from the fields set in the builderOpenLineage.ParentRunFacetBuilder
job(OpenLineage.ParentRunFacetJob job)
OpenLineage.ParentRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.ParentRunFacetBuilder
run(OpenLineage.ParentRunFacetRun run)
-
-
-
Method Detail
-
run
public OpenLineage.ParentRunFacetBuilder run(OpenLineage.ParentRunFacetRun run)
- Parameters:
run
- the run- Returns:
- this
-
job
public OpenLineage.ParentRunFacetBuilder job(OpenLineage.ParentRunFacetJob job)
- Parameters:
job
- the job- Returns:
- this
-
put
public OpenLineage.ParentRunFacetBuilder put(java.lang.String key, java.lang.Object value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.ParentRunFacet build()
build an instance of ParentRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ParentRunFacet>
- Returns:
- the constructed type
-
-