public static class Enrichment.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String destinationField,
String sourceField,
String enrichment)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Enrichment |
build()
Builds a Enrichment.
|
Enrichment.Builder |
description(String description)
Set the description.
|
Enrichment.Builder |
destinationField(String destinationField)
Set the destinationField.
|
Enrichment.Builder |
enrichment(String enrichment)
Set the enrichment.
|
Enrichment.Builder |
ignoreDownstreamErrors(Boolean ignoreDownstreamErrors)
Set the ignoreDownstreamErrors.
|
Enrichment.Builder |
options(EnrichmentOptions options)
Set the options.
|
Enrichment.Builder |
overwrite(Boolean overwrite)
Set the overwrite.
|
Enrichment.Builder |
sourceField(String sourceField)
Set the sourceField.
|
public Enrichment build()
public Enrichment.Builder description(String description)
description
- the descriptionpublic Enrichment.Builder destinationField(String destinationField)
destinationField
- the destinationFieldpublic Enrichment.Builder sourceField(String sourceField)
sourceField
- the sourceFieldpublic Enrichment.Builder overwrite(Boolean overwrite)
overwrite
- the overwritepublic Enrichment.Builder enrichment(String enrichment)
enrichment
- the enrichmentpublic Enrichment.Builder ignoreDownstreamErrors(Boolean ignoreDownstreamErrors)
ignoreDownstreamErrors
- the ignoreDownstreamErrorspublic Enrichment.Builder options(EnrichmentOptions options)
options
- the optionsCopyright © 2021 IBM Cloud. All rights reserved.