Package io.openlineage.client
Class OpenLineage.ErrorMessageRunFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.ErrorMessageRunFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ErrorMessageRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ErrorMessageRunFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.ErrorMessageRunFacet>
-
-
Constructor Summary
Constructors Constructor Description ErrorMessageRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ErrorMessageRunFacet
build()
OpenLineage.ErrorMessageRunFacetBuilder
message(java.lang.String message)
OpenLineage.ErrorMessageRunFacetBuilder
programmingLanguage(java.lang.String programmingLanguage)
OpenLineage.ErrorMessageRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.ErrorMessageRunFacetBuilder
stackTrace(java.lang.String stackTrace)
-
-
-
Method Detail
-
message
public OpenLineage.ErrorMessageRunFacetBuilder message(java.lang.String message)
- Parameters:
message
- A human-readable string representing error message generated by observed system- Returns:
- this
-
programmingLanguage
public OpenLineage.ErrorMessageRunFacetBuilder programmingLanguage(java.lang.String programmingLanguage)
- Parameters:
programmingLanguage
- Programming language the observed system uses.- Returns:
- this
-
stackTrace
public OpenLineage.ErrorMessageRunFacetBuilder stackTrace(java.lang.String stackTrace)
- Parameters:
stackTrace
- A language-specific stack trace generated by observed system- Returns:
- this
-
put
public OpenLineage.ErrorMessageRunFacetBuilder 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.ErrorMessageRunFacet build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ErrorMessageRunFacet>
- Returns:
- the constructed type
-
-