Package io.openlineage.client
Class OpenLineage.GcpLineageJobFacetOriginBuilder
java.lang.Object
io.openlineage.client.OpenLineage.GcpLineageJobFacetOriginBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.GcpLineageJobFacetOrigin>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.GcpLineageJobFacetOriginBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.GcpLineageJobFacetOrigin>
builder class for GcpLineageJobFacetOrigin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of GcpLineageJobFacetOrigin from the fields set in the buildersourceType
(String sourceType)
-
Constructor Details
-
GcpLineageJobFacetOriginBuilder
public GcpLineageJobFacetOriginBuilder()
-
-
Method Details
-
sourceType
- Parameters:
sourceType
- Type of the source. Possible values can be found in GCP documentation (https://cloud.google.com/data-catalog/docs/reference/data-lineage/rest/v1/projects.locations.processes#SourceType)- Returns:
- this
-
name
- Parameters:
name
- If the sourceType isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. More details in GCP documentation https://cloud.google.com/data-catalog/docs/reference/data-lineage/rest/v1/projects.locations.processes#origin- Returns:
- this
-
build
build an instance of GcpLineageJobFacetOrigin from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.GcpLineageJobFacetOrigin>
- Returns:
- the constructed type
-