public static class Configuration.Builder
extends java.lang.Object
Constructor and Description |
---|
Configuration.Builder()
Instantiates a new builder.
|
Configuration.Builder(java.lang.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 |
configurationId(java.lang.String configurationId)
Set the configurationId.
|
Configuration.Builder |
conversions(Conversions conversions)
Set the conversions.
|
Configuration.Builder |
created(java.util.Date created)
Set the created.
|
Configuration.Builder |
description(java.lang.String description)
Set the description.
|
Configuration.Builder |
enrichments(java.util.List<Enrichment> enrichments)
Set the enrichments.
|
Configuration.Builder |
name(java.lang.String name)
Set the name.
|
Configuration.Builder |
normalizations(java.util.List<NormalizationOperation> normalizations)
Set the normalizations.
|
Configuration.Builder |
source(Source source)
Set the source.
|
Configuration.Builder |
updated(java.util.Date updated)
Set the updated.
|
public Configuration.Builder()
public Configuration.Builder(java.lang.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 configurationId(java.lang.String configurationId)
configurationId
- the configurationIdpublic Configuration.Builder name(java.lang.String name)
name
- the namepublic Configuration.Builder created(java.util.Date created)
created
- the createdpublic Configuration.Builder updated(java.util.Date updated)
updated
- the updatedpublic Configuration.Builder description(java.lang.String description)
description
- the descriptionpublic Configuration.Builder conversions(Conversions conversions)
conversions
- the conversionspublic Configuration.Builder enrichments(java.util.List<Enrichment> enrichments)
enrichments
- the enrichmentspublic Configuration.Builder normalizations(java.util.List<NormalizationOperation> normalizations)
normalizations
- the normalizationspublic Configuration.Builder source(Source source)
source
- the source