public static class CollectionEnrichment.Builder
extends java.lang.Object
Constructor and Description |
---|
CollectionEnrichment.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
CollectionEnrichment.Builder |
addFields(java.lang.String fields)
Adds an fields to fields.
|
CollectionEnrichment |
build()
Builds a CollectionEnrichment.
|
CollectionEnrichment.Builder |
enrichmentId(java.lang.String enrichmentId)
Set the enrichmentId.
|
CollectionEnrichment.Builder |
fields(java.util.List<java.lang.String> fields)
Set the fields.
|
public CollectionEnrichment.Builder()
public CollectionEnrichment build()
public CollectionEnrichment.Builder addFields(java.lang.String fields)
fields
- the new fieldspublic CollectionEnrichment.Builder enrichmentId(java.lang.String enrichmentId)
enrichmentId
- the enrichmentIdpublic CollectionEnrichment.Builder fields(java.util.List<java.lang.String> fields)
fields
- the fields