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