Package io.openlineage.client
Class OpenLineage.OwnershipDatasetFacetOwnersBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.OwnershipDatasetFacetOwnersBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.OwnershipDatasetFacetOwners>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.OwnershipDatasetFacetOwnersBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.OwnershipDatasetFacetOwners>
builder class for OwnershipDatasetFacetOwners
-
-
Constructor Summary
Constructors Constructor Description OwnershipDatasetFacetOwnersBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.OwnershipDatasetFacetOwners
build()
build an instance of OwnershipDatasetFacetOwners from the fields set in the builderOpenLineage.OwnershipDatasetFacetOwnersBuilder
name(java.lang.String name)
OpenLineage.OwnershipDatasetFacetOwnersBuilder
type(java.lang.String type)
-
-
-
Method Detail
-
name
public OpenLineage.OwnershipDatasetFacetOwnersBuilder name(java.lang.String name)
- Parameters:
name
- the identifier of the owner of the Dataset. It is recommended to define this as a URN. For example application:foo, user:jdoe, team:data- Returns:
- this
-
type
public OpenLineage.OwnershipDatasetFacetOwnersBuilder type(java.lang.String type)
- Parameters:
type
- The type of ownership (optional)- Returns:
- this
-
build
public OpenLineage.OwnershipDatasetFacetOwners build()
build an instance of OwnershipDatasetFacetOwners from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.OwnershipDatasetFacetOwners>
- Returns:
- the constructed type
-
-