public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateCollectionOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Gets the description.
|
List<CollectionEnrichment> |
enrichments()
Gets the enrichments.
|
String |
language()
Gets the language.
|
String |
name()
Gets the name.
|
CreateCollectionOptions.Builder |
newBuilder()
New builder.
|
Boolean |
ocrEnabled()
Gets the ocrEnabled.
|
String |
projectId()
Gets the projectId.
|
public CreateCollectionOptions.Builder newBuilder()
public String projectId()
The Universally Unique Identifier (UUID) of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String name()
The name of the collection.
public String description()
A description of the collection.
public String language()
The language of the collection. For a list of supported languages, see the [product documentation](/docs/discovery-data?topic=discovery-data-language-support).
public Boolean ocrEnabled()
If set to `true`, optical character recognition (OCR) is enabled. For more information, see [Optical character recognition](/docs/discovery-data?topic=discovery-data-collections#ocr).
public List<CollectionEnrichment> enrichments()
An array of enrichments that are applied to this collection. To get a list of enrichments that are available for a project, use the [List enrichments](#listenrichments) method.
If no enrichments are specified when the collection is created, the default enrichments for the project type are applied. For more information about project default settings, see the [product documentation](/docs/discovery-data?topic=discovery-data-project-defaults).
Copyright © 2024 IBM Cloud. All rights reserved.