Package io.openlineage.client
Class OpenLineage.SchemaDatasetFacetFieldsBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.SchemaDatasetFacetFieldsBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.SchemaDatasetFacetFields>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.SchemaDatasetFacetFieldsBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.SchemaDatasetFacetFields>
builder class for SchemaDatasetFacetFields
-
-
Constructor Summary
Constructors Constructor Description SchemaDatasetFacetFieldsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.SchemaDatasetFacetFields
build()
build an instance of SchemaDatasetFacetFields from the fields set in the builderOpenLineage.SchemaDatasetFacetFieldsBuilder
description(java.lang.String description)
OpenLineage.SchemaDatasetFacetFieldsBuilder
fields(java.util.List<OpenLineage.SchemaDatasetFacetFields> fields)
OpenLineage.SchemaDatasetFacetFieldsBuilder
name(java.lang.String name)
OpenLineage.SchemaDatasetFacetFieldsBuilder
type(java.lang.String type)
-
-
-
Method Detail
-
name
public OpenLineage.SchemaDatasetFacetFieldsBuilder name(java.lang.String name)
- Parameters:
name
- The name of the field.- Returns:
- this
-
type
public OpenLineage.SchemaDatasetFacetFieldsBuilder type(java.lang.String type)
- Parameters:
type
- The type of the field.- Returns:
- this
-
description
public OpenLineage.SchemaDatasetFacetFieldsBuilder description(java.lang.String description)
- Parameters:
description
- The description of the field.- Returns:
- this
-
fields
public OpenLineage.SchemaDatasetFacetFieldsBuilder fields(java.util.List<OpenLineage.SchemaDatasetFacetFields> fields)
- Parameters:
fields
- Nested struct fields.- Returns:
- this
-
build
public OpenLineage.SchemaDatasetFacetFields build()
build an instance of SchemaDatasetFacetFields from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SchemaDatasetFacetFields>
- Returns:
- the constructed type
-
-