Package io.openlineage.client
Class OpenLineage.JobBuilder
java.lang.Object
io.openlineage.client.OpenLineage.JobBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.Job>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.JobBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.Job>
builder class for Job
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of Job from the fields set in the builderfacets
(OpenLineage.JobFacets facets)
-
Constructor Details
-
JobBuilder
public JobBuilder()
-
-
Method Details
-
namespace
- Parameters:
namespace
- The namespace containing that job- Returns:
- this
-
name
- Parameters:
name
- The unique name for that job within that namespace- Returns:
- this
-
facets
- Parameters:
facets
- The job facets.- Returns:
- this
-
build
build an instance of Job from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.Job>
- Returns:
- the constructed type
-