public static class DocumentClassifierEnrichment.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String enrichmentId,
List<String> fields)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DocumentClassifierEnrichment.Builder |
addFields(String fields)
Adds a new element to fields.
|
DocumentClassifierEnrichment |
build()
Builds a DocumentClassifierEnrichment.
|
DocumentClassifierEnrichment.Builder |
enrichmentId(String enrichmentId)
Set the enrichmentId.
|
DocumentClassifierEnrichment.Builder |
fields(List<String> fields)
Set the fields.
|
public DocumentClassifierEnrichment build()
public DocumentClassifierEnrichment.Builder addFields(String fields)
fields
- the new element to be addedpublic DocumentClassifierEnrichment.Builder enrichmentId(String enrichmentId)
enrichmentId
- the enrichmentIdpublic DocumentClassifierEnrichment.Builder fields(List<String> fields)
fields
- the fieldsCopyright © 2024 IBM Cloud. All rights reserved.