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 java.lang.Object implements OpenLineage.Builder<OpenLineage.LifecycleStateChangeDatasetFacet>
builder class for LifecycleStateChangeDatasetFacet
-
-
Constructor Summary
Constructors Constructor Description LifecycleStateChangeDatasetFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.LifecycleStateChangeDatasetFacet
build()
build an instance of LifecycleStateChangeDatasetFacet from the fields set in the builderOpenLineage.LifecycleStateChangeDatasetFacetBuilder
lifecycleStateChange(OpenLineage.LifecycleStateChangeDatasetFacet.LifecycleStateChange lifecycleStateChange)
OpenLineage.LifecycleStateChangeDatasetFacetBuilder
previousIdentifier(OpenLineage.LifecycleStateChangeDatasetFacetPreviousIdentifier previousIdentifier)
OpenLineage.LifecycleStateChangeDatasetFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional properties
-
-
-
Method Detail
-
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
public OpenLineage.LifecycleStateChangeDatasetFacetBuilder 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.LifecycleStateChangeDatasetFacet 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
-
-