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 java.lang.Object implements OpenLineage.Builder<OpenLineage.SourceCodeJobFacet>
-
-
Constructor Summary
Constructors Constructor Description SourceCodeJobFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.SourceCodeJobFacet
build()
OpenLineage.SourceCodeJobFacetBuilder
language(java.lang.String language)
OpenLineage.SourceCodeJobFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.SourceCodeJobFacetBuilder
sourceCode(java.lang.String sourceCode)
-
-
-
Method Detail
-
language
public OpenLineage.SourceCodeJobFacetBuilder language(java.lang.String language)
- Parameters:
language
- Language in which source code of this job was written.- Returns:
- this
-
sourceCode
public OpenLineage.SourceCodeJobFacetBuilder sourceCode(java.lang.String sourceCode)
- Parameters:
sourceCode
- Source code of this job.- Returns:
- this
-
put
public OpenLineage.SourceCodeJobFacetBuilder 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.SourceCodeJobFacet build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SourceCodeJobFacet>
- Returns:
- the constructed type
-
-