Package io.openlineage.client
Class OpenLineage.SourceCodeJobFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.SourceCodeJobFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.SourceCodeJobFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.SourceCodeJobFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.SourceCodeJobFacet>
builder class for SourceCodeJobFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of SourceCodeJobFacet from the fields set in the builderadd additional propertiessourceCode
(String sourceCode)
-
Constructor Details
-
SourceCodeJobFacetBuilder
public SourceCodeJobFacetBuilder()
-
-
Method Details
-
language
- Parameters:
language
- Language in which source code of this job was written.- Returns:
- this
-
sourceCode
- Parameters:
sourceCode
- Source code of this job.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of SourceCodeJobFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SourceCodeJobFacet>
- Returns:
- the constructed type
-