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 java.lang.Object implements OpenLineage.Builder<OpenLineage.Job>
builder class for Job
-
-
Constructor Summary
Constructors Constructor Description JobBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.Job
build()
build an instance of Job from the fields set in the builderOpenLineage.JobBuilder
facets(OpenLineage.JobFacets facets)
OpenLineage.JobBuilder
name(java.lang.String name)
OpenLineage.JobBuilder
namespace(java.lang.String namespace)
-
-
-
Method Detail
-
namespace
public OpenLineage.JobBuilder namespace(java.lang.String namespace)
- Parameters:
namespace
- The namespace containing that job- Returns:
- this
-
name
public OpenLineage.JobBuilder name(java.lang.String name)
- Parameters:
name
- The unique name for that job within that namespace- Returns:
- this
-
facets
public OpenLineage.JobBuilder facets(OpenLineage.JobFacets facets)
- Parameters:
facets
- The job facets.- Returns:
- this
-
build
public OpenLineage.Job 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
-
-