public static class UpdateCollectionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateCollectionOptions.Builder |
addEnrichments(CollectionEnrichment enrichments)
Adds an enrichments to enrichments.
|
UpdateCollectionOptions |
build()
Builds a UpdateCollectionOptions.
|
UpdateCollectionOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
UpdateCollectionOptions.Builder |
description(String description)
Set the description.
|
UpdateCollectionOptions.Builder |
enrichments(List<CollectionEnrichment> enrichments)
Set the enrichments.
|
UpdateCollectionOptions.Builder |
name(String name)
Set the name.
|
UpdateCollectionOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public UpdateCollectionOptions build()
public UpdateCollectionOptions.Builder addEnrichments(CollectionEnrichment enrichments)
enrichments
- the new enrichmentspublic UpdateCollectionOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic UpdateCollectionOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic UpdateCollectionOptions.Builder name(String name)
name
- the namepublic UpdateCollectionOptions.Builder description(String description)
description
- the descriptionpublic UpdateCollectionOptions.Builder enrichments(List<CollectionEnrichment> enrichments)
enrichments
- the enrichmentsCopyright © 2021 IBM Cloud. All rights reserved.