Package io.openlineage.client
Class OpenLineage.GcpCommonJobFacetOriginBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.GcpCommonJobFacetOriginBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.GcpCommonJobFacetOrigin>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.GcpCommonJobFacetOriginBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.GcpCommonJobFacetOrigin>
builder class for GcpCommonJobFacetOrigin
-
-
Constructor Summary
Constructors Constructor Description GcpCommonJobFacetOriginBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.GcpCommonJobFacetOrigin
build()
build an instance of GcpCommonJobFacetOrigin from the fields set in the builderOpenLineage.GcpCommonJobFacetOriginBuilder
name(java.lang.String name)
OpenLineage.GcpCommonJobFacetOriginBuilder
sourceType(java.lang.String sourceType)
-
-
-
Method Detail
-
sourceType
public OpenLineage.GcpCommonJobFacetOriginBuilder sourceType(java.lang.String 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
public OpenLineage.GcpCommonJobFacetOriginBuilder name(java.lang.String 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
public OpenLineage.GcpCommonJobFacetOrigin build()
build an instance of GcpCommonJobFacetOrigin from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.GcpCommonJobFacetOrigin>
- Returns:
- the constructed type
-
-