Package io.openlineage.client
Class OpenLineage.StaticDatasetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.StaticDatasetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.StaticDataset>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.StaticDatasetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.StaticDataset>
builder class for StaticDataset
-
-
Constructor Summary
Constructors Constructor Description StaticDatasetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.StaticDataset
build()
build an instance of StaticDataset from the fields set in the builderOpenLineage.StaticDatasetBuilder
facets(OpenLineage.DatasetFacets facets)
OpenLineage.StaticDatasetBuilder
name(java.lang.String name)
OpenLineage.StaticDatasetBuilder
namespace(java.lang.String namespace)
-
-
-
Method Detail
-
namespace
public OpenLineage.StaticDatasetBuilder namespace(java.lang.String namespace)
- Parameters:
namespace
- The namespace containing that dataset- Returns:
- this
-
name
public OpenLineage.StaticDatasetBuilder name(java.lang.String name)
- Parameters:
name
- The unique name for that dataset within that namespace- Returns:
- this
-
facets
public OpenLineage.StaticDatasetBuilder facets(OpenLineage.DatasetFacets facets)
- Parameters:
facets
- The facets for this dataset- Returns:
- this
-
build
public OpenLineage.StaticDataset build()
build an instance of StaticDataset from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.StaticDataset>
- Returns:
- the constructed type
-
-