public static class CollectionDetails.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 |
|---|---|
CollectionDetails.Builder |
addEnrichments(CollectionEnrichment enrichments)
Adds an enrichments to enrichments.
|
CollectionDetails |
build()
Builds a CollectionDetails.
|
CollectionDetails.Builder |
description(String description)
Set the description.
|
CollectionDetails.Builder |
enrichments(List<CollectionEnrichment> enrichments)
Set the enrichments.
|
CollectionDetails.Builder |
language(String language)
Set the language.
|
CollectionDetails.Builder |
name(String name)
Set the name.
|
public Builder()
public Builder(String name)
name - the namepublic CollectionDetails build()
public CollectionDetails.Builder addEnrichments(CollectionEnrichment enrichments)
enrichments - the new enrichmentspublic CollectionDetails.Builder name(String name)
name - the namepublic CollectionDetails.Builder description(String description)
description - the descriptionpublic CollectionDetails.Builder language(String language)
language - the languagepublic CollectionDetails.Builder enrichments(List<CollectionEnrichment> enrichments)
enrichments - the enrichmentsCopyright © 2022 IBM Cloud. All rights reserved.