Package io.openlineage.client
Class OpenLineage.DatasourceDatasetFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.DatasourceDatasetFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DatasourceDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.DatasourceDatasetFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.DatasourceDatasetFacet>
builder class for DatasourceDatasetFacet
-
-
Constructor Summary
Constructors Constructor Description DatasourceDatasetFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.DatasourceDatasetFacet
build()
build an instance of DatasourceDatasetFacet from the fields set in the builderOpenLineage.DatasourceDatasetFacetBuilder
name(java.lang.String name)
OpenLineage.DatasourceDatasetFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.DatasourceDatasetFacetBuilder
uri(java.net.URI uri)
-
-
-
Method Detail
-
name
public OpenLineage.DatasourceDatasetFacetBuilder name(java.lang.String name)
- Parameters:
name
- the name- Returns:
- this
-
uri
public OpenLineage.DatasourceDatasetFacetBuilder uri(java.net.URI uri)
- Parameters:
uri
- the uri- Returns:
- this
-
put
public OpenLineage.DatasourceDatasetFacetBuilder 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.DatasourceDatasetFacet build()
build an instance of DatasourceDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DatasourceDatasetFacet>
- Returns:
- the constructed type
-
-