Package io.openlineage.client
Class OpenLineage.NominalTimeRunFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.NominalTimeRunFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.NominalTimeRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.NominalTimeRunFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.NominalTimeRunFacet>
builder class for NominalTimeRunFacet
-
-
Constructor Summary
Constructors Constructor Description NominalTimeRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.NominalTimeRunFacet
build()
build an instance of NominalTimeRunFacet from the fields set in the builderOpenLineage.NominalTimeRunFacetBuilder
nominalEndTime(java.time.ZonedDateTime nominalEndTime)
OpenLineage.NominalTimeRunFacetBuilder
nominalStartTime(java.time.ZonedDateTime nominalStartTime)
OpenLineage.NominalTimeRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional properties
-
-
-
Method Detail
-
nominalStartTime
public OpenLineage.NominalTimeRunFacetBuilder nominalStartTime(java.time.ZonedDateTime nominalStartTime)
- Parameters:
nominalStartTime
- An [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time- Returns:
- this
-
nominalEndTime
public OpenLineage.NominalTimeRunFacetBuilder nominalEndTime(java.time.ZonedDateTime nominalEndTime)
- Parameters:
nominalEndTime
- An [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of the next run)- Returns:
- this
-
put
public OpenLineage.NominalTimeRunFacetBuilder 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.NominalTimeRunFacet build()
build an instance of NominalTimeRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.NominalTimeRunFacet>
- Returns:
- the constructed type
-
-