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 an fields 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 fieldspublic DocumentClassifierEnrichment.Builder enrichmentId(String enrichmentId)
enrichmentId
- the enrichmentIdpublic DocumentClassifierEnrichment.Builder fields(List<String> fields)
fields
- the fieldsCopyright © 2022 IBM Cloud. All rights reserved.