public static class Configuration.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String name)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Builder |
addEnrichment(Enrichment enrichment)
Adds an enrichment to enrichments.
|
Configuration.Builder |
addNormalization(NormalizationOperation normalization)
Adds an normalization to normalizations.
|
Configuration |
build()
Builds a Configuration.
|
Configuration.Builder |
conversions(Conversions conversions)
Set the conversions.
|
Configuration.Builder |
description(String description)
Set the description.
|
Configuration.Builder |
enrichments(List<Enrichment> enrichments)
Set the enrichments.
|
Configuration.Builder |
name(String name)
Set the name.
|
Configuration.Builder |
normalizations(List<NormalizationOperation> normalizations)
Set the normalizations.
|
Configuration.Builder |
source(Source source)
Set the source.
|
public Builder()
public Builder(String name)
name
- the namepublic Configuration build()
public Configuration.Builder addEnrichment(Enrichment enrichment)
enrichment
- the new enrichmentpublic Configuration.Builder addNormalization(NormalizationOperation normalization)
normalization
- the new normalizationpublic Configuration.Builder name(String name)
name
- the namepublic Configuration.Builder description(String description)
description
- the descriptionpublic Configuration.Builder conversions(Conversions conversions)
conversions
- the conversionspublic Configuration.Builder enrichments(List<Enrichment> enrichments)
enrichments
- the enrichmentspublic Configuration.Builder normalizations(List<NormalizationOperation> normalizations)
normalizations
- the normalizationspublic Configuration.Builder source(Source source)
source
- the sourceCopyright © 2022 IBM Cloud. All rights reserved.