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 a new element 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 |
ocrEnabled(Boolean ocrEnabled)
Set the ocrEnabled.
|
UpdateCollectionOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public UpdateCollectionOptions build()
public UpdateCollectionOptions.Builder addEnrichments(CollectionEnrichment enrichments)
enrichments
- the new element to be addedpublic 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 ocrEnabled(Boolean ocrEnabled)
ocrEnabled
- the ocrEnabledpublic UpdateCollectionOptions.Builder enrichments(List<CollectionEnrichment> enrichments)
enrichments
- the enrichmentsCopyright © 2024 IBM Cloud. All rights reserved.