public static class Enrichment.Builder
extends java.lang.Object
Constructor and Description |
---|
Enrichment.Builder()
Instantiates a new builder.
|
Enrichment.Builder(java.lang.String destinationField,
java.lang.String sourceField,
java.lang.String enrichment)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Enrichment |
build()
Builds a Enrichment.
|
Enrichment.Builder |
description(java.lang.String description)
Set the description.
|
Enrichment.Builder |
destinationField(java.lang.String destinationField)
Set the destinationField.
|
Enrichment.Builder |
enrichment(java.lang.String enrichment)
Set the enrichment.
|
Enrichment.Builder |
ignoreDownstreamErrors(java.lang.Boolean ignoreDownstreamErrors)
Set the ignoreDownstreamErrors.
|
Enrichment.Builder |
options(EnrichmentOptions options)
Set the options.
|
Enrichment.Builder |
overwrite(java.lang.Boolean overwrite)
Set the overwrite.
|
Enrichment.Builder |
sourceField(java.lang.String sourceField)
Set the sourceField.
|
public Enrichment.Builder()
public Enrichment.Builder(java.lang.String destinationField, java.lang.String sourceField, java.lang.String enrichment)
destinationField
- the destinationFieldsourceField
- the sourceFieldenrichment
- the enrichmentpublic Enrichment build()
public Enrichment.Builder description(java.lang.String description)
description
- the descriptionpublic Enrichment.Builder destinationField(java.lang.String destinationField)
destinationField
- the destinationFieldpublic Enrichment.Builder sourceField(java.lang.String sourceField)
sourceField
- the sourceFieldpublic Enrichment.Builder overwrite(java.lang.Boolean overwrite)
overwrite
- the overwritepublic Enrichment.Builder enrichment(java.lang.String enrichment)
enrichment
- the enrichmentpublic Enrichment.Builder ignoreDownstreamErrors(java.lang.Boolean ignoreDownstreamErrors)
ignoreDownstreamErrors
- the ignoreDownstreamErrorspublic Enrichment.Builder options(EnrichmentOptions options)
options
- the options