Package io.openlineage.client
Class OpenLineage.GcpComposerJobFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.GcpComposerJobFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.GcpComposerJobFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.GcpComposerJobFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.GcpComposerJobFacet>
builder class for GcpComposerJobFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionairflowVersion
(String airflowVersion) build()
build an instance of GcpComposerJobFacet from the fields set in the buildercomposerVersion
(String composerVersion) environmentName
(String environmentName) add additional properties
-
Constructor Details
-
GcpComposerJobFacetBuilder
public GcpComposerJobFacetBuilder()
-
-
Method Details
-
environmentName
- Parameters:
environmentName
- Cloud Composer Environment name- Returns:
- this
-
dagId
- Parameters:
dagId
- The id of the DAG- Returns:
- this
-
operator
- Parameters:
operator
- Operator class name. Only present for tasks, not for DAGs. For example `PythonOperator`- Returns:
- this
-
taskId
- Parameters:
taskId
- The id of the task. Only present for tasks, not for DAGs- Returns:
- this
-
airflowVersion
- Parameters:
airflowVersion
- Version of Airflow, suffixed by `+composer`- Returns:
- this
-
composerVersion
- Parameters:
composerVersion
- Version of the Cloud Composer environment- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of GcpComposerJobFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.GcpComposerJobFacet>
- Returns:
- the constructed type
-