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 Object
implements OpenLineage.Builder<OpenLineage.ErrorMessageRunFacet>
builder class for ErrorMessageRunFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of ErrorMessageRunFacet from the fields set in the builderprogrammingLanguage
(String programmingLanguage) add additional propertiesstackTrace
(String stackTrace)
-
Constructor Details
-
ErrorMessageRunFacetBuilder
public ErrorMessageRunFacetBuilder()
-
-
Method Details
-
message
- Parameters:
message
- A human-readable string representing error message generated by observed system- Returns:
- this
-
programmingLanguage
- Parameters:
programmingLanguage
- Programming language the observed system uses.- Returns:
- this
-
stackTrace
- Parameters:
stackTrace
- A language-specific stack trace generated by observed system- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of ErrorMessageRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ErrorMessageRunFacet>
- Returns:
- the constructed type
-