Package io.openlineage.client
Class OpenLineage.LifecycleStateChangeDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.LifecycleStateChangeDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.LifecycleStateChangeDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.LifecycleStateChangeDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.LifecycleStateChangeDatasetFacet>
builder class for LifecycleStateChangeDatasetFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of LifecycleStateChangeDatasetFacet from the fields set in the builderlifecycleStateChange
(OpenLineage.LifecycleStateChangeDatasetFacet.LifecycleStateChange lifecycleStateChange) previousIdentifier
(OpenLineage.LifecycleStateChangeDatasetFacetPreviousIdentifier previousIdentifier) add additional properties
-
Constructor Details
-
LifecycleStateChangeDatasetFacetBuilder
public LifecycleStateChangeDatasetFacetBuilder()
-
-
Method Details
-
lifecycleStateChange
public OpenLineage.LifecycleStateChangeDatasetFacetBuilder lifecycleStateChange(OpenLineage.LifecycleStateChangeDatasetFacet.LifecycleStateChange lifecycleStateChange) - Parameters:
lifecycleStateChange
- The lifecycle state change.- Returns:
- this
-
previousIdentifier
public OpenLineage.LifecycleStateChangeDatasetFacetBuilder previousIdentifier(OpenLineage.LifecycleStateChangeDatasetFacetPreviousIdentifier previousIdentifier) - Parameters:
previousIdentifier
- Previous name of the dataset in case of renaming it.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of LifecycleStateChangeDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.LifecycleStateChangeDatasetFacet>
- Returns:
- the constructed type
-